![]() In addition, Kaspersky verifies the messaging protocols and alerts you in the event of an intrusion. Thus, your PC is protected permanently and in real time against viruses, keyloggers, spywares, rootkits, and other undesirable ones. $ qemu-system-i386 -enable-kvm -m 1536 -cdrom /tmp/kav_rescue_10.The application uses three monitoring systems: signature database analysis, heuristic analysis, and behavior blocker. $ qemu-system-i386 -enable-kvm -m 1536 -kernel /tmp/rescue -initrd /tmp/rescue.igz -append "root=live kav_lang=en udev liveimg doscsi nomodeset" You should now have all the files like this print | cpio -owner 0.0 -quiet -H newc -o | lzma -zc > /tmp/rescue.igzĬopy kernel to same place as initramdisk cp /tmp/iso/boot/rescue /tmp This creates a lzma compressed cpio archive of /tmp/iso/new folder will take a few minutes as it is now containing the AV defs and main filesystemįind. Mksquashfs /tmp/iso/rescue /tmp/iso/livecd /tmp/iso/new/image.squashfs -noappend -all-root Inode table size 1398 bytes (1.37 Kbytes)ħ0.11% of uncompressed inode table size (1994 bytes)ĭirectory table size 58 bytes (0.06 Kbytes)ġ00.00% of uncompressed directory table size (58 bytes)Īdd the rescue folder and livecd file to a squashfs archive image.squashfs (yes this does contain the already squashed ext3 filesystem!) - these will then be packed back into a new rescue.igz 474/474 100%Įxportable Squashfs 4.0 filesystem, xz compressed, data block size 1048576Ĭompressed data, compressed metadata, compressed fragments, compressed xattrsįilesystem size 127846.50 Kbytes (124.85 Mbytes)Ģ6.34% of uncompressed filesystem size (485366.14 Kbytes) $ mksquashfs /tmp/iso/squashfs-root /tmp/iso/rescue/LiveOS/squashfs.img -noappend -comp xz -b 1048576 -all-rootĬreating 4.0 filesystem on rescue/LiveOS/squashfs.img, block size 1048576. Mksquashfs /tmp/iso/squashfs-root /tmp/iso/rescue/LiveOS/squashfs.img -noappend -comp xz -b 1048576 -all-root (Be mounted with root ownership of the enclosed files, hence need sudo) Mount -n -t $fstype -o $ $livedev /run/initramfs/liveĭie "Failed to mount block device of live image" losetup $_loop $_img _fs=$(det_fs $_loop) losetup -d $_loopįor arg in $CMDLINE do case $arg in ro|rw) liverw=$arg esac -62,7 +60,6 die "cannot mount live image (unknown filesystem type)" $ patch -p0 -directory="/tmp/iso/new" < /tmp/iso/kaspersky.patch ![]() Patch -p0 -directory = "/tmp/iso/new" < /tmp/iso/kaspersky.patch This file is updated daily with latest AV defs Init: rescue.igz > image.squashfs > (rescue/bases & LiveOS/squasfs.img > ext3.img ) ext3.img real main filesystem (fixed) packed inside squashfs.img (recreated) & bases inside image.squashfs (created) inside rescue.igz (recreated) Repacking gives even more onion layers, the bit to get your head round. ![]() Real system: rescue/LiveOS/squasfs.img > ext3.img These are the patch files if you are rebuilding it yourself These are the pre-built patched PXE bootable Kaspersky 10 files ready to go! 13 Copy kernel to same place as initramdisk.8 Patch the init, sbin/dmsquash-live-root and.7 Mount the ext3 filesystem from extract squashfs.img.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |