Newsletter: Bad credit payday loan Credit history report online Credit free online report uk Debt consolidation financing Credit repair florida Card com credit online providian Credit score rating scale Consolidation en language loan student Bad credit loan mortgage va National consumer credit Consolidate credit card Consumer credit help 0 percent apr credit card Federal home loan bank Canada credit free in report Banks that offer secured credit card High credit score Best credit card rebate Free credit bureau report Best mileage credit card Government free credit score Loan and debt consolidation finance Free porn no credit card needed Accept credit card merchant Card chase credit payment Loan nz personal Free credit score check Uk bad credit credit card loan Free credit report no credit card required Citibank credit card india Bc loan student Find credit rating Bad credit repair service Pulaski bank credit card Canadian credit score Christian consolidation debt free Get free credit score Credit card merchant account American express credit card application Comparison consolidation loan student Bad credit personal loan company Kansas home equity loan Cheap credit card machine Consolidation credit debt help Gas only credit card Minnesota home loan Direct loan national student Bank card credit credit one Credit score information Credit score rating scale Apply online credit card instant Chase manhattan credit card Free sample credit repair letter Bad credit home improvement loan Union plus credit card Online credit card merchant account Consolidation debt lead mortgage Com credit free report Equity hawaii home loan rate Business credit check College hazlewood hinson loan student California equity home loan rate Credit card number generator Home improvement loan lender Bank of america business credit card Compare credit card offer Credit card machine to buy Free annual credit report government Free annual credit report with equifax Bad credit repair No bank statement payday loan Debt consolidation new york Card credit mbna uk Internet credit card payment processing Cheap personal loan Student loan bill consolidation Secured loan for home owner Credit card fraud law Aspen card card credit gold master Partially secured credit card Consolidation debt loan online uk Credit report score Auto loan for people with bad credit Low interest rate credit card Card credit free no porn required Bankruptcy california home loan Card credit machine processing wireless Ohio debt consolidation Disney reward credit card Aspire credit card payment Debt consolidation home loan Credit free history report Credit free repair report Alberta loan student Direct merchant credit card bank na Online business credit card deal Card consolidation credit debt free Consolidation debt lead mortgage Home loan mobile va Hsbc credit card Personal bank loan Free equifax credit score Home loan mortgage refinance Alabama credit free report Credit card machine sales Wipe out credit card debt Christian consolidation debt free Credit federal free law report Mobile home loan New york home equity loan Bad credit home purchase loan Home improvement loan new hampshire Personal loan application Providian credit card payment Chicago counseling credit Bad card credit people Stop credit card application Christian debt consolidation Credit card online ireland Citibank credit card malaysia Unsecured business loan bad credit 1000 cash loan payday advance Bad credit financing Free credit report from experian Card credit processing service California home jumbo loan Student loan debt elimination Credit counseling san diego First premier bank credit card Home owner personal loan Bad credit guaranteed loan personal Secret credit report repair Wal mart credit card Payday loan personal Wachovia secured credit card Direct government loan student Debt reduction solution credit card Carolina loan south student Consolidation debt loan non profit International medical student loan Compare secured credit card First savings credit card master card Credit repair lawyer Fha government home loan Bad college credit loan student Personal consolidation loan Bad auto loan credit lead Apply for visa credit card Free xxx video no credit card Credit card debt statue of limitation Credit repair uk Target credit card application Bill card consolidation credit Citibank corporation loan student San diego home equity loan Com credit report Merchant credit card services California home loan rate Hard money personal loan Card company consolidation credit Consolidation credit debt repair Poor credit small business loan View credit report online 0 balance transfer credit card uk Mortgage debt consolidation loan company Maryland home equity loan rate Student loan debt relief Instant credit card processing New york home loan Maryland home equity loan Fast private student loan Credit card consolidation help Canadian credit card application Card consolidation credit loan Jacksonville home equity loan Home interest loan only Bank of america credit card Federal student loan interest rate Bureau credit online report Chase credit card application Secured credit card offer San diego home loan Unsecured credit card 0 apr card credit transfer Credit card application for bad credit Loan mae sallie signature student Miami home equity loan Free credit card application Instant student credit card Bc loan student Washington mutual home mortgage loan Consumer debt consolidation Bad credit refinancing No credit check personal loan Bank of america credit card payment 0 balance transfer credit card offer Fast loan payday Partially secured credit card Long term bad credit personal loan Credit card application online Government home improvement loan Debt consolidation counseling Best card credit interest low Sears credit card account Average us credit score 0 apr balance transfer credit card Counseling credit debt management services Free trans union annual credit report Hard money personal loan Credit card with no bank account Loan repayment student 3 bureau credit free report Providian credit card services Bad credit kansas loan mortgage wichita Va home loan rate High risk lender for a personal loan Home equity loan in florida Bank personal loan for bad credit California home loan manufactured Credit card debt bankruptcy Mbna credit card uk Canadian student credit card Green dot prepaid credit card Capital one credit card reward Bad credit mortgage lead Christian credit counseling dallas Bad card credit credit fee no Debt consolidation loan for people with bad credit Card credit mbna secured No credit credit card application Credit card debt payoff Home owner loan corp Fixed rate credit card Fha home loan Bad credit help Bad card credit credit get Debt consolidation home equity loan Bad credit florida loan mortgage Apply for american express credit card Credit counseling agency Texas construction home loan Consolidation debt fee free no Bad credit loan mortgage need Low fee payday loan Canadian credit free report Card consolidate credit loan student City bank credit card 0 interest credit card application Unsecured credit card Get free credit score Bad debt consolidation loan Government home improvement grants loan Instant trans union credit report Providian credit card company Consolidation debt lead mortgage Guaranteed high risk personal loan Great lake loan student How to get a credit card with no credit history Va home loan refinance Personal loan for people with bad credit Shell oil credit card Bad credit card offer Card credit interest low 1 3 credit in online report Credit equifax experian free report Consolidation debt free information Panelized home loan Unsecured business line of credit New millennium bank credit card Card compare credit different from offer Free equifax credit report Bad credit home loan mortgage se No credit check personal loan Credit report online equifax Personal loan for people with bad credit Good credit score range Bad credit Online credit report No fee secured credit card Personal loan interest rate Credit repair company Non profit debt consolidation loan Home savings and loan company Financing florida home loan Unsecured business line of credit 2nd bad credit loan mortgage Cash loan payday reserve Bad credit fast cash loan Credit free obtain online report Nonprofit debt consolidation American express delta credit card Bad credit car loan Best buy credit card Mobile credit card processing equipment Bad credit interest mortgage rate Chase visa credit card account access Refinance fha home loan National average credit score Advance cash loan payday software Florida home loan south Commerce bank credit card Credit good report score Uk personal secured loan Free gay porn no credit card Student credit card instant approval Chase secured credit card Consumer report best credit card Free online credit report without credit card Equity home loan refinance vs Home loan mortgage new online quote Canada card company credit Second mortgage and home equity loan Best credit card deal Credit counseling debt management agency Private loan for a student with bad credit Credit card debt help Approval personal loan Credit card free balance transfer Banks who offer secured credit card Credit free new report york Credit free nj report Free credit report with 3 score Payday loan faxless no fax Card credit emerge payment Bad credit lender loan mortgage New jersey home loan American express black credit card Yearly credit score High risk debt consolidation loan Home loan mortgage rate refinance Card credit online payment No credit check unsecured credit card Card credit increase minimum payment Iowa loan student Visa credit card instant approval Wal mart credit card canada Bad credit loan mortgage refinance Credit equifax free report score Card credit payment services No equity home improvement loan Citi bank student credit card Home improvement loan hud Bad credit fix report Fix a bad credit report Master credit card Instant business credit card Home equity loan montana Credit card services for business Fast bad credit personal loan Card consolidation credit debt management Georgia debt consolidation loan Consumer credit report Home equity loan line of credit Online debt consolidation Dallas credit repair Bank of america fleet credit card Credit online report Bad card credit credit need Home equity loan refinance credit Canada loan student Bad credit home loan mobil Credit card for those with bad credit Debt consolidation credit counseling Citi business credit card Card credit student unsecured Cosmetic surgery financing for bad credit Card credit fraud history Card credit merchant online processing Bad credit mortgage remortgage uk Credit card for student with no credit New century home loan Lexington credit repair 0 application card credit interest Approval card credit credit instant poor No fee credit card Card credit debt free 0 card credit interest Western union prepaid credit card Bad credit debt consolidation mortgage Federal home loan bank rate Credit repair attorney Card credit gas hess Consolidation credit non profit Bad credit signature loan American express business credit card Guaranteed instant loan personal unsecured Card credit payment Commercial credit counseling Chase credit card phone number Home loan finance uk Free music download no credit card California equity home loan California home loan mortgage Online home improvement loan Apply card credit kmart Mbna credit card Debt consolidation defaulted student loan New york and company credit card Family credit counseling Business credit check Consumer counseling counselor credit credit credit fix help Home equity loan vs second mortgage Christian company consolidation debt Wal mart credit card application Business card credit small terminal Auto loan for people with bad credit Bad credit auto refinance Card credit payment sears First time home loan bad credit Online credit score Corporation loan sc student Loan mae sallie signature student Great lake student loan consolidation Bad credit mortgage illinois Free credit rating score Consumer credit reporting agency Good credit score Credit card merchant online Bad credit mortgage repair Credit debt elimination Broker california home loan Free business credit report Credit card machine leasing Consumer credit online report Apply for personal loan Cash loan student Credit card for business poor credit Home savings and loan bank Home equity loan kentucky Free annual credit score Va home mortgage loan rate Credit card debt debt consolidation Credit rating fix Home loan rate search Iowa loan student Bad credit home loan california Free credit rating Equity home interest loan rate Low interest student credit card Card consolidation credit debt online Card credit online pay sears Card consolidation credit debt service Credit dispute experian report California home equity loan Michigan debt consolidation Perfect credit score Home depot credit card application Current home equity loan rate Debt consolidation mortgage uk Free yearly credit report Mbna secured credit card Advance america payday loan Credit free law report Credit personal report Consolidation debt online service Card credit credit free report without Card credit discover payment Low interest personal loan Bad credit personal loan Stolen credit card numbers Free credit repair Credit card debt in america National foundation for credit counseling Instant faxless payday loan Secured credit card instant approval Trans union credit report agency Debt consolidation mortgage uk Credit card bad credit ok Comparison consolidation loan student Bad credit guaranteed home loan 0 balance card credit student transfer Credit card consolidation help Credit free missouri report Buy new car bad credit Guaranteed no fax payday loan Home equity loan montana No down payment credit card New hampshire home equity loan Credit card company rating Well fargo student loan consolidation Home construction loan Com credit report Bad credit en language loan student We accept credit card Debt management credit counseling Union plus credit card account Card credit hsbc payment Orchard bank credit card status Florida home improvement loan Bad credit history mortgage Clean credit report Corporate business credit card Credit repair forum Bank credit card Instant approval credit card application 1.blogspot.com card credit debt link message Graduate loan student S p credit rating Bad credit credit card approval Consumer credit couseling Tampa home loan Instant credit card for bad credit Teen credit card debt statistics Home loan rate search Personal loan online Interest only home loan Home equity loan uk Free credit card application Card college credit debt student Bad consolidation credit debt loan unsecured Absolutely credit free online report California home loan sacramento Credit report dispute form Bank federal home loan pittsburgh Debt consolidation solution California home loan rosa santa Apply online kohls credit card Credit counseling of america Home improvement debt consolidation loan Capital one credit card online payment Bad credit military loan Va mortgage loan bad credit Bad credit loan uk Credit card bad debt uk Loan personal credit Best credit card rate Self help credit union Government loan student Bad college credit loan student Free credit rating check Bad card credit Bad credit personal loan 1 Bad card credit master Card chase commercial credit Credit repair organization act Connecticut home equity loan Mobile home loan texas Credit free report yearly Quick credit repair Fix your credit report Repair credit repair credit Credit card number generator download Bad credit car loan dallas Credit score range Free credit card generator Home loan monmouth new jersey Student loan for people with bad credit Bad card credit credit free people Household credit card login Bad credit new home loan Refinance car loan bad credit Home loan for people with bad credit Credit free line report College student credit card debt No credit card credit report Consumer credit counselor Credit card debt Fast fax loan no payday Government free credit score Best cash rebate credit card Visa credit card fraud Verizon credit card online How to lower credit card interest rate Debt consolidation affiliate program Card college credit Guaranteed bad credit personal loan Household bank credit card services Bad credit guaranteed loan unsecured 0 credit card with no balance transfer fee Card credit search uk Free personal credit report online Credit card and student loan consolidation Absolutely credit free online report Best home equity loan rate quote Ecommerce accept credit card Lower credit card debt Bad credit debt consolidation Application aspen card credit Application california home mortgage loan Credit union master card Federal perkins student loan Disney chase credit card Bad card credit credit ok Credit fix report Online debt consolidation program D ford loan student william Georgia bad credit home loan Free credit report and free credit score Card card credit geico master platinum Bad consolidation credit Credit card online Annual credit free report National credit repair Bad credit home loan score Canada credit report Credit score help Bad credit lo personal signature Christian consolidation debt free Apply online credit card application Credit card rating Cash advance payday loan America bank card credit mbna Government home loan va Secret to increase credit score Debt consolidation loan rate Bad credit payday loan Credit card services for business Credit debt solution Wal mart credit card services Refinance federal student loan First time home buyer fha loan Consolidation defaulted loan student Credit report fico score Free credit repair help Best credit card deal uk How to start a credit card company Bad credit credit card uk Card consolidation credit debt management Guaranteed unsecured credit card instant approval Best personal loan Consolidation credit debt rating Bad credit credit card canada Credit card counseling services Company consolidation loan student Get credit report online Instant personal loan Amazon card chase credit Credit card debt consolidation service No credit check card Low interest rate visa credit card Small business loan bad credit Online shopping credit card Improve credit score Secured personal loan Wachovia credit card No limit credit card Uk visa credit card Cic credit report Airline mileage credit card Visa credit card machine Credit free report totally Credit counseling michigan Home equity loan in california Cash loan online payday Canada credit card online application Instant credit card for bad credit Alaska home improvement loan New jersey home improvement loan Gas rebate credit card Credit report repair services Consolidation credit debt repair Citibank student credit card American credit counseling Credit report service Best deal prepaid credit card Texas guaranteed student loan corporation Balance best card credit transfer Card credit low rate Consolidation credit debt loan poor Credit debt consolidation loan Background check credit report Business card credit interest low Live debt consolidation lead Bad credit loan mortgage ohio Credit card machine retail Hawaiian airline credit card Buyer california first home loan time Chase home equity loan Bank card card credit master tribute Unsecured personal loan online Apply card credit macys Consumer credit union Loan refinancing student Bad card credit unsecured Credit card debt death No credit check business loan Card credit debt divorce Low rate home equity loan Northwest airline credit card Bad card credit credit rating Bad credit school loan California home loan manufactured Small personal loan Debt consolidation organization Capital one bank credit card Free debt consolidation loan Consolidation debt loan student Providian credit card application En language loan payday Student loan consolidation rate Loan mae sallie student Debt consolidation florida Apply approval card credit instant online Annual credit equifax report Credit card consolidation best deal No fax payday advance loan Bad credit bank loan Consolidation federal loan private student Guaranteed credit card uk First time home loan bad credit Adjustable home loan mortgage rate Delaware bad credit mortgage

when the shit goes down …

July 29, 2007

what does this аЙляк mean?

Filed under: In my mind ... — valntine @ 5:00 am

Къде бях, къде отидох и пак и пак и пак … къде се връщам … след айляк :D

July 7, 2007

How to create your own encrypted file container with FreeBSD-6.x and GBDE

Filed under: *nix like stuff — valntine @ 9:04 am

I have recently migrated my desktop PC from Linux to FreeBSD-6.2 after I have messed up the system libraries of the both Linux distributions I had installed on my PC … at the same time :) Fortunately the file system stayed in tact and I did not loose any files (except the libs heaheah)

I used to have a small 512MB encrypted file container which was using the Linux Cryptoloop (AES-256) devices to protect the data in it on my ex-Linux boxes.

The container was mounted as a regular disk drive with the help of the Linux Loop devices kernel option (mount -o loop,encryption=aes-256) as I did not need an entire encrypted hard drive.

After the migration I had to move the data from this container to a similar one but encrypted with a system supported by the FreeBSD operation system.

I was aware of GBDE (GBDE is GEOM based disc encryption scheme that allows the users to encrypt their entire hard drive) and I tough that it will fit to my personal needs. Since I did not need the entire hard drive encrypted I have decided to look for tools similar to the Linux loop devices.

It took me a while to find out that Linux loop device system = FreeBSD memory devices and I have decided to write a small FAQ.

I hope that it will save your time if you face a similar problem.

Fortunately FreeBSD-6.x comes with options that allows hard disk encryption by default and they are fully supported by the GENERIC FreeBSD-6.x kernel.

Additionally the system comes with memory devices (md(4)) support turned on by default. Memory devices allow the user to attach a single file as a storage device. Memory devices can be controlled by using the mdconfig utility. From its man pages:

*cut*
mdconfig — configure and enable memory disks
*cut*
The mdconfig utility configures and enables md(4) devices.
*cut*

For more information, please check:

man 8 mdconfig

Ok. Let’s start with the preparation of our file container:

[root@sunrise ~]# cd /usr/

We have to create a file with a size of our personal choice. Since I do not need a lot of space for my private files 512MB are more than enough for me:

[root@sunrise /usr]# dd if=/dev/urandom of=magick bs=1024k count=512
512+0 records in
512+0 records out
536870912 bytes transferred in 88.384740 secs (6074249 bytes/sec)

The dd utility copies the standard input to the standard output. By using the if option we specify that the input should be copied from the /dev/urandom system device. The output is written to a file named magick. This is specified by the of=magick option. The size of the buffer that should be copied is 1024k (bs=1024k) and count=512 specifies how many times we should copy 1024k buffer from the /dev/urandom device into the magick file.

In order to be able to manipulate the magick file as a standard memory device we have to attach it to the system. This will allow us to re-attach the file as an encrypted disk and later to create a new file system inside the GBDE encrypted disk.

[root@sunrise /usr]# mdconfig -a -t vnode -f magick
md0

The above command:

-a Attach a memory disk. This will configure and attach a memory
disk with the parameters specified and attach it to the system.

-t type
Select the type of the memory disk.

vnode A file specified with -f file becomes the backingstore
for this memory disk.
-f file
Filename to use for the vnode type memory disk. Options -a and -t
vnode are implied if not specified.

attaches magick as a system memory device :). If you do not have other memory devices configured with the mdconfig tool the command will create a new device node:

/dev/md0

Ok. As we have just configured our file container as a hardware storage node we can continue with the setup of the GBDE disk encryption.

By using the gbde tool:

gbde — operation and management utility for Geom Based Disk Encryption

we can encrypt md0 which represents our magick file container.

[root@sunrise /usr]# gbde init /dev/md0
Enter new passphrase: zvQzdi heahheah
Reenter new passphrase: zvQzdi heahheah
[root@sunrise /usr]# gbde attach /dev/md0

You should provide the password that you will use in future to mount your encrypted file twice.

***NOTE*** Due to security reasons you should use a strong password that contains minimum 20 characters. It is recommended for the password to contains all of the below:

Upper case characters
Lower case characters
Numeric characters
Other punctual symbols

Also please note that you should remember the password. If you forget it you will NOT be able to repair the password in any other way but by only using a brute force attack against the gbde tool. At least I am not aware of other methods.

Ok. We have our container prepared and the password is already set. Now we have to attach it to the system once again so we can later create the file system that will store our data:

[root@sunrise /usr]# gbde attach /dev/md0
Enter passphrase: i pak zvQzdi

Above we are attaching our newly created encrypted container to the system. We are asked to provide the password otherwise we can not manipulate the data we stored in the file. If the password matches with the one we provided during the initial GBDE setup a new special device file is created:

[root@sunrise /usr]# ls -al /dev/md0*
crw-r—– 1 root operator 0, 126 Jul 7 05:02 /dev/md0
crw-r—– 1 root operator 0, 127 Jul 7 05:02 /dev/md0.bde
[root@sunrise /usr]#

The next step we should follow is to create our file system inside the encrypted system by manipulating the md0.bde device by using the newfs(8) tool.

[root@sunrise /usr]# newfs /dev/md0.bde
/dev/md0.bde: 496.5MB (1016768 sectors) block size 16384, fragment size 2048
using 4 cylinder groups of 124.12MB, 7944 blks, 15936 inodes.
super-block backups (for fsck -b #) at:
160, 254368, 508576, 762784

So we are all set. Now we can mount mount /dev/md0.bde as a regular disk drive and copy our private files in it:

[root@sunrise /usr]# mkdir /mnt/magick
[root@sunrise /usr]# mount /dev/md0.bde /mnt/magick/
[root@sunrise /usr]# chmod 700 /mnt/magick/

***NOTE*** Please make sure to execute the chmod command. Otherwise each time the the device is mounted file group owners and the others will be allowed to see the directory content and read the files in our mount point. As it holds our private files we do not want this right?

[root@sunrise /usr]# cd /mnt/magick/
[root@sunrise /mnt/magick]# ls -al
total 6
drwxr-xr-x 3 root wheel 512 Jun 28 15:02 .
drwxr-xr-x 4 root wheel 512 Jun 28 15:03 ..
drwxrwxr-x 2 root operator 512 Jun 28 15:02 .snap

You can now do what you got to do copy your files to the mount point, edit them etc.

Once you finish you have to unmount the container, detach the encrypted device from the system and remove the configured memory device:

[root@sunrise /mnt]# umount /dev/md0.bde

After the above command your encrypted file system can be re-mounted again without the need to provide the password as /dev/md0.bde still exist as a system device.

You are not safe before it is detached:

[root@sunrise ~]# gbde detach /dev/md0
[root@sunrise ~]# ls -al /dev/md0*
crw-r—– 1 root operator 0, 126 Jul 7 05:02 /dev/md0

Ok. Once detached the GBDE device can not be re-attached and mounted to the system without the password. If you wish you can remove the memory device from the system too:

[root@sunrise /mnt]# mdconfig -d -u 0

Now your private files are inside a single file that consists of nothing but a garbage bits :)

[root@sunrise /usr]# file magick
magick: data
[root@sunrise /usr]# strings magick
hj |cc}
UPJ!
p`r~
etc. etc.

References:

FreeBSD mail list
FreeBSD handbook
For security fanatics and paranoids it seems that AES is breakable …

Please excuse my poor English. Damn. I still have problems with it :)

[root@sunrise /usr]# reboot
The author is transferring himself to “How-high” NOW :)