Received: from list by lists.gnu.org with archive (Exim 4.71) id 1dX9iX-0003LD-Ne for mharc-grub-devel@gnu.org; Mon, 17 Jul 2017 13:21:57 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38738) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dX9iU-0003Kc-TB for grub-devel@gnu.org; Mon, 17 Jul 2017 13:21:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dX9iR-00038C-Il for grub-devel@gnu.org; Mon, 17 Jul 2017 13:21:54 -0400 Received: from smtp303.alice.it ([82.57.200.119]:21256) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dX9iR-00036u-4p for grub-devel@gnu.org; Mon, 17 Jul 2017 13:21:51 -0400 Received: from feu36-alice (82.57.205.79) by smtp303.alice.it (8.6.060.43) id 5895009A072AB4E8; Mon, 17 Jul 2017 19:21:49 +0200 Received: from (93.40.197.118) by webmail36b.pc.tim.it; Mon, 17 Jul 2017 19:21:49 +0200 Message-ID: <15d5191fff8.ingegneriaforense@alice.it> Date: Mon, 17 Jul 2017 19:21:49 +0200 (CEST) From: "ingegneriaforense@alice.it" Reply-To: "ingegneriaforense@alice.it" To: Subject: R: Re: CAN GRUB DO WRITING OPERATIONS ON ATTACHED DRIVES ? Cc: list@xenhideout.nl Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_25939_32967502.1500312109052" X-Originating-IP: 93.40.197.118:21915 X-Priority: 1 (Highest) Importance: high X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.119 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jul 2017 17:21:56 -0000 ------=_Part_25939_32967502.1500312109052 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Ok ... My question is: CAN GRUB IMPLICITLY WRITE TO A DRIVE ATTACHED TO A COMPUTER ? Implicitly means: without an explicit command from a user. That is: in which way GRUB manages the ports of a usb interface (IDE and SATA) ? There are two cases: 1- The PC is turned off. A USB stick is attached to it. The PC is turned on. Fundamentally the GRUB should take a look at the MBR to see the port which to boot from. So it should be only necessary a reading enable because there is no necessity to write in the usb interface registers (IDE and SATA). 2- CAN happen that the GRUB writes to the USB, IDE and SATA periferal drives during the normal user activity, for example when a USB stick is attached to a PC ? I do this question because i've seen a SAMSUNG Solid State Disk that when attached to a PC stores the times it has been turned on (in a memory area different from the user data ones). For this reason I'm wondering if is it possible to understand in which point of the source the GRUB manages the USB, IDE, and SATA interfaces. I hope you can assist me in this question. Obviously it no matter from where the usb, ide and sata drives come from (windows or mac). For my analisys i attach them to a ubuntu system. I hope you can assist me in this question. Thanks in advance. Vincenzo. Forensic Consultant Tribunale di Lecce Studio: Strada di Garibaldi - Contrada Paradisi 73010 Lequile (LE) cell: 339.7968555 skype: vincenzo.di_salvo ----Messaggio originale---- Da: list@xenhideout.nl Data: 17-lug-2017 10.44 A: Ogg: Re: CAN GRUB DO WRITING OPERATIONS ON ATTACHED DRIVES ? ingegneriaforense@alice.it schreef op 16-07-2017 23:37: > 1- After a PC restart (that is when the BIOS/UEFI has finished to > inizialize hardware periferals and give the control to the GRUB) i'm > interesting to know if GRUB implicitily (that is without an explicit > command from a user) can write to a drive attached to a computer. > For example: > A- the PC is turn off > B- I put an usb stick in the usb port (no matter if usb is bootable or > not); you can suppose usb stick is formatted NTFS > C- I turn on the PC > QUESTION: after the BIOS finish its procedure and gives the control to > the GRUB, the GRUB can do, in some way that i ignore, writing > operations into the USB drive attached to the usb port. > > The same question is for IDE and SATA drives (for example internal > attached Hard Disks different from the first containing the OS). I don't think you have specified your question very well. Is your question whether grub CAN do these things, or whether grub DOES do these things? _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel ------=_Part_25939_32967502.1500312109052 Content-Type: text/html;charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ok ...

My question is:

CAN GRUB IMPLICITLY WRITE TO A DRIVE A= TTACHED TO A COMPUTER ?

Implicitly means: without an explicit comman= d from a user.
 
That is: in which way GRUB manages the ports of= a usb interface (IDE and SATA) ?

There are two cases: 
1- The PC is turned off. A USB stick is attached to it. The PC is turned o= n. Fundamentally the GRUB should take a look at the MBR to see the port whi= ch to boot  from. So it should be only necessary a reading enable beca= use there is no necessity to write in the usb interface registers (IDE and = SATA).

2- CAN happen that the GRUB writes to the USB, IDE and SATA p= eriferal drives during the normal user activity, for example when a USB sti= ck is attached to a PC ?

I do this question because i've seen a SAMS= UNG Solid State Disk that when attached to a PC stores the times it has bee= n turned on (in a memory area different from the user data ones).

Fo= r this reason I'm wondering if is it possible to understand in which point = of the source the GRUB manages the USB, IDE, and SATA interfaces.

I = hope you can assist me in this question.

Obviously it no matter from= where the usb, ide and sata drives come from  (windows or mac). For m= y analisys i attach them to a ubuntu system.

I hope you can assist = me in this question.

Thanks in advance.

Vincenz= o.

Forensic Consultant
Tribunale di Lecce

Studio: Strada d= i Garibaldi - Contrada Paradisi
73010 Lequile (LE)

cell: 339.7968= 555
skype: vincenzo.di_salvo


----Messaggio originale----
Da: list@xenhideout.nl
Data: 17-lug-2017 = 10.44
A: <grub-devel@gnu.org>
Ogg: Re: CAN GRUB DO WRITING OPER= ATIONS ON ATTACHED DRIVES ?

ingegneriaforense@alice.it schreef op 16= -07-2017 23:37:

> 1- After a PC restart (that is when the BIOS/UE= FI has finished to
> inizialize hardware periferals and give the con= trol to the GRUB) i'm
> interesting to know if GRUB implicitily (tha= t is without an explicit
> command from a user) can write to a drive= attached to a computer.
> For example:
> A- the PC is turn off=
> B- I put an usb stick in the usb port (no matter if usb is bootabl= e or
> not); you can suppose usb stick is formatted NTFS
> C- = I turn on the PC
> QUESTION: after the BIOS finish its procedure and = gives the control to
> the GRUB, the GRUB can do, in some way that i= ignore, writing
> operations into the USB drive attached to the usb= port.
>
> The same question is for IDE and SATA drives (for e= xample internal
> attached Hard Disks different from the first conta= ining the OS).

I don't think you have specified your question very w= ell.

Is your question whether grub CAN do these things, or whether g= rub DOES
do these things?

______________________________________= _________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists= .gnu.org/mailman/listinfo/grub-devel


------=_Part_25939_32967502.1500312109052--