<div dir="ltr"><div dir="ltr">On Sat, 29 Aug 2020 at 01:25, Doru Georgescu <<a href="mailto:headset001@yahoo.com">headset001@yahoo.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Short version: <br>
<br>
Byte 480 of the Ubuntu desktop 20.04.1 LTS installation kit has been modified during installation. Is this by design? <br></blockquote><div><br></div><div>Yes, the logs of the installation process are now written to the USB stick by default. I guess the change you see at byte 480 is the change to the partition table.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Detailed version: <br>
<br>
I use to create my usb stick install kit with:<br>
<br>
# dd if=downloads/ubuntu-20.04.1-desktop-amd64.iso of=/dev/sdd<br>
and it worked for me.<br>
<br>
I also use to verify the install kit before and after install with:<br>
<br>
# cmp downloads/ubuntu-20.04.1-desktop-amd64.iso /dev/sdd<br>
and this also worked for me until now. It exits with end of file error, because the kit is shorter than /dev/sdd.<br>
<br>
Now, however, for the first time, there is a difference after install at byte 480, line 4.<br>
<br>
The kit has been created on a compromised system.<br>
<br>
However, I have doubts that it has been modified by malicious code.<br>
<br>
So I ran:<br>
<br>
# mount /dev/sdd1 mnt<br>
# mount -o loop ubuntu-20.04.1-desktop-amd64.iso mnt1<br>
# find mnt/ -exec bash -c 'file={}; cmp $file ${file/mnt/mnt1}' \; | grep differ<br>
and found no difference, only that cmp does not compare directories.<br>
<br>
# lsblk -fm /dev/sdd<br>
NAME FSTYPE LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINT  SIZE OWNER GROUP MODE<br>
sdd  iso966 Ubuntu 20.04.1 LTS amd64<br>
│                 2020-07-31-16-51-12-00                                          7,2G root  disk  brw-rw----<br>
├─sdd1<br>
│    iso966 Ubuntu 20.04.1 LTS amd64<br>
│                 2020-07-31-16-51-12-00                                          2,6G root  disk  brw-rw----<br>
├─sdd2<br>
│    vfat         C26E-047E                                                       3,9M root  disk  brw-rw----<br>
└─sdd3<br>
     ext4   writable<br>
                  a83a9b1c-36cb-4312-9aba-0359f74c0374                            4,7G root  disk  brw-rw----<br></blockquote><div><br></div><div>This writable directory was created during installtion.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
What could be the cause? Should I worry about this?<br></blockquote><div><br></div><div>No :)</div><div><br></div><div>Cheers,</div><div>mwh</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Also aked here: <a href="https://askubuntu.com/questions/1269405/installation-kit-modified-during-install-is-this-a-security-issue" rel="noreferrer" target="_blank">https://askubuntu.com/questions/1269405/installation-kit-modified-during-install-is-this-a-security-issue</a> <br>
<br>
-- <br>
Ubuntu-devel-discuss mailing list<br>
<a href="mailto:Ubuntu-devel-discuss@lists.ubuntu.com" target="_blank">Ubuntu-devel-discuss@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss</a><br>
</blockquote></div></div>