Welcome to Smokey's Security Forums.
Guests have only limited access to the board and it's features, please consider registering to gain full access!
Registration is free and it only takes a few moments to complete.

Smokey's Security Forums

Please login or register.

Login with username, password and session length
Advanced search  

News:

Smokeys is looking for 'Updaters.
If you have  knowledge of Updates or a willingness to learn, please send  'Starbuck' or 'Tinker' a PM with your details.
Thanks.

OTL Log Analysis and Malware Removal - Qualified PC Disinfection & Cleaning - Microsoft Security Info & Alert Center - Official Jetico Inc. Support Forums

Share this topic on FacebookShare this topic on MySpaceShare this topic on Del.icio.usShare this topic on DiggShare this topic on RedditShare this topic on StumbleUponShare this topic on TwitterAuthorTopic: BestCrypt hangs when mounting with bcmount  (Read 954 times)

0 Members and 1 Guest are viewing this topic.

warfish

  • Linux Developer
  • Jetico Inc. Developer
  • *
  • Offline Offline
  • Posts: 31
Re: BestCrypt hangs when mounting with bcmount
« Reply #10 on: February 09, 2009, 11:25:35 AM »
Hello everyone.

We have located and fixed the problem.
The fix is currently undergoing a testing stage and will be released with the next version later this week.

Thanks everyone for your cooperation in locating this bug.

Evgeny.

warfish

  • Linux Developer
  • Jetico Inc. Developer
  • *
  • Offline Offline
  • Posts: 31
Re: BestCrypt hangs when mounting with bcmount
« Reply #9 on: February 04, 2009, 08:57:26 AM »
Hi, Wobble.

I was working on this problem ever since the first report in this topic, but i still can not reproduce it whatever i tried. However, eventually i came up with a solution to test and send it to another user with the same problem today but haven't received a reply yet.

If you would like to participate in testing, please contact me through jetico support email (support@jetico.com). In this case i will also need a bc.ko module, build on your system that causes a lock up.

In any case, i will keep you posted.
Evgeny.

Wobble

  • Member
  • *
  • Offline Offline
  • Posts: 2
Re: BestCrypt hangs when mounting with bcmount
« Reply #8 on: February 02, 2009, 05:00:53 PM »
Being slightly crazy, I sat at the console and attempted to mount the volume again (after unmounting all important partitions!), and then took a photo of the resulting trace. Not sure if this is of any help, but hopefully it'll give some indication of where it crashed:

[attachment=0:2o85ygk9]BcCrash.jpg[/attachment:2o85ygk9]

Again, no actual access to bash. All I could do was attempt to sysrq to sync the remaining discs and unmount to safety.

Wobble

  • Member
  • *
  • Offline Offline
  • Posts: 2
Re: BestCrypt hangs when mounting with bcmount
« Reply #7 on: February 02, 2009, 04:31:06 PM »
Hi,

I've just encountered what seems to be the same problem, although I'm running Ubuntu 8.10 instead of CentOS. I downloaded and compiled bcrypt-1.6-24 (i.e. make / make install), ran depmod, modprobe bc, and then finally attempted to use bcmount to mount a file-based bestcrypt volume.

The system then promptly hung. I lost all network contact with the machine, and when I went and looked at the machine itself, all keyboard / mouse input had frozen (and I couldn't switch out of X to get to a console) :/

Currently running:
Linux wobble 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 i686 GNU/Linux

-Wobble  :P

warfish

  • Linux Developer
  • Jetico Inc. Developer
  • *
  • Offline Offline
  • Posts: 31
Re: BestCrypt hangs when mounting with bcmount
« Reply #6 on: January 19, 2009, 01:11:26 PM »
Hi, Al.

I managed to put together the testing environment you described, but i can't reproduce the problem. Does your system hangs up only when you're trying to mount encrypted block devices or with the regular file-based containers too?

Evgeny.

almerindoTopic starter

  • Member
  • *
  • Offline Offline
  • Posts: 4
Re: BestCrypt hangs when mounting with bcmount
« Reply #5 on: January 19, 2009, 10:13:43 AM »
Thank you
Al

warfish

  • Linux Developer
  • Jetico Inc. Developer
  • *
  • Offline Offline
  • Posts: 31
Re: BestCrypt hangs when mounting with bcmount
« Reply #4 on: January 19, 2009, 10:00:19 AM »
Quote from: "almerindo"
Hello,

I am using Centos 5. The kernel is 2.6.18-92.1.22.el5PAE and I already tried switching to another terminal but nothing works and I have to press the power button

Al

Hi, Al.

We had a lot of problems with this particular setup before. CentOS distro adds it's own patches to stable kernels which makes some things rather hard to predict. I will get right on it asap.

Evgeny.

almerindoTopic starter

  • Member
  • *
  • Offline Offline
  • Posts: 4
Re: BestCrypt hangs when mounting with bcmount
« Reply #3 on: January 19, 2009, 09:55:55 AM »
Hello,

I am using Centos 5. The kernel is 2.6.18-92.1.22.el5PAE and I already tried switching to another terminal but nothing works and I have to press the power button

Al

warfish

  • Linux Developer
  • Jetico Inc. Developer
  • *
  • Offline Offline
  • Posts: 31
Re: BestCrypt hangs when mounting with bcmount
« Reply #2 on: January 19, 2009, 05:05:25 AM »
Hi.

Dead lockup means a kernel specific problem. Please tell me which linux distro you are using and your kernel version (uname -a). Also, right after the lockup try to switch to another terminal (Alt+Ctrl+F1-F8, depending on your distro), login from there and do a 'dmesg|tail' command, and post the output here.

almerindoTopic starter

  • Member
  • *
  • Offline Offline
  • Posts: 4
BestCrypt hangs when mounting with bcmount
« Reply #1 on: January 16, 2009, 06:37:10 PM »
Hello,

I've finally managed to install BestCrypt but I cannot use it just yet. I am trying creating a container on a USB pen ( I have tried on to different models with the same results) and every time I try to mount the USB, it asks for a password, i enter the password and the whole system hans and I have to proceed with a hard reboot. This is what I am doing:

[al@localhost ~]$ sudo bcnew -a rijndael /dev/sdb1
Password:
Warning: All data on specified block device will be lost! Continue? (y/[n]):y
Enter password:
Verify password:

Please do not forget to format the container

[al@localhost ~]$ sudo bcformat -t ext3 /dev/sdb1
Enter password:
mke2fs 1.39 (29-May-2006)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
31360 inodes, 125152 blocks
0 blocks (0.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=67371008
16 block groups
8192 blocks per group, 8192 fragments per group
1960 inodes per group
Superblock backups stored on blocks:
        8193, 24577, 40961, 57345, 73729

Writing inode tables: done                            
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 20 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.

[al@localhost ~]$ sudo bcmount -t ext3 /dev/sdb1
Password:



And after I enter the password, right or wrong the system freezes and he CAPS lock light on the laptop starts flashing.


Please let me know what I am doing wrong

Thank you
Al
 

* Permissions
You can't post new topics.
You can't post replies.
You can't post attachments.
You can't modify your posts.
BBCode Enabled
Smilies Enabled
[img] Enabled
HTML Disabled


Except where otherwise stated, all content Copyright © 2006 - 2010 Smokey Services™ -- All rights reserved

Surf Smokey's with confidence: all external links in posts are checked and rated by WOT - Web of Trust
Security Knowledge-, Alert- & News Center and Comprehensive Microsoft Windows Information & Download Center
Board- and databases search functions and the download of post attachments are only available to registered board members

    


==>Think your PC is infected? Click here for OTL Log Analysis and Malware Removal Assistance<==


Smokey's Security Forums provide full qualified OTL Log Analysis & Cleaning Services
OTL (formerly OTListIt2) by OldTimer is a sophisticated, comprehensive log analysis tool to clean PCs with malicious content

Microsoft Security Info & Alert Center - most recent, real-time released Microsoft Security Bulletins, Alerts, Advisories and Vulnerabilities:
<div style="background-color: none transparent;"><a href="http://www.rsspump.com/?web_widget/rss_widget" title="rss widget">Rss widget</a></div>