LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-22-2020, 09:57 AM   #1
doru
Member
 
Registered: Sep 2008
Distribution: Ubuntu 8.04 LTS Server
Posts: 138

Rep: Reputation: 19
install kit modified


I use to create my usb stick install kit with:
Code:
# dd if=downloads/ubuntu-20.04.1-desktop-amd64.iso of=/dev/sdd
and it worked for me.

I also use to verify the install kit before and after install with:
Code:
# cmp downloads/ubuntu-20.04.1-desktop-amd64.iso /dev/sdd
and this also worked for me until now. It exits with end of file error, because the kit is shorter than /dev/sdd.

Now, however, for the first time, there is a difference after install at byte 480, line 4.

The kit has been created on a compromised system.

However, I have doubts that it has been modified by malicious code.

So I ran:
Code:
# mount /dev/sdd1 mnt
# mount -o loop ubuntu-20.04.1-desktop-amd64.iso mnt1
# find mnt/ -exec bash -c 'file={}; cmp $file ${file/mnt/mnt1}' \; | grep differ
and found no difference, only that cmp does not compare directories.

Code:
# lsblk -fm /dev/sdd
NAME FSTYPE LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINT  SIZE OWNER GROUP MODE
sdd  iso966 Ubuntu 20.04.1 LTS amd64
│                 2020-07-31-16-51-12-00                                          7,2G root  disk  brw-rw----
├─sdd1
│    iso966 Ubuntu 20.04.1 LTS amd64
│                 2020-07-31-16-51-12-00                                          2,6G root  disk  brw-rw----
├─sdd2
│    vfat         C26E-047E                                                       3,9M root  disk  brw-rw----
└─sdd3
     ext4   writable
                  a83a9b1c-36cb-4312-9aba-0359f74c0374                            4,7G root  disk  brw-rw----
What could be the cause?
Should I worry about this?
 
  


Reply

Tags
install, kit, linux, modified, ubuntu



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu install modified EFI partition on another drive etcetera Ubuntu 3 08-02-2019 09:08 AM
Install USB driver from linux command window to OK6410_linux2636 kit agrkajli25 Linux - Newbie 1 05-07-2012 11:57 AM
New Release- Multidistro.com Official Rescue-Install-Kit for CD/USB/HD linus72 Linux - General 1 07-13-2009 01:34 AM
Suggesstions to complete my rescue/install Kit? linus72 Linux - General 2 07-01-2009 08:04 AM
Make a new iso image to install my modified kernel biggeorge Linux - Software 2 12-20-2005 04:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration