Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.linux.ubuntu > #197269 > unrolled thread

installing ubuntu to crack windows

Started byfred flintstone <fred@server.invalid>
First post2017-09-23 11:40 -0700
Last post2017-09-28 12:10 -0700
Articles 11 on this page of 31 — 8 participants

Back to article view | Back to alt.os.linux.ubuntu


Contents

  installing ubuntu to crack windows fred flintstone <fred@server.invalid> - 2017-09-23 11:40 -0700
    Re: installing ubuntu to crack windows DanS <t.h.i.s.n.t.h.a.t@r.o.a.d.r.u.n.n.e.r.c.o.m> - 2017-09-23 13:46 -0500
    Re: installing ubuntu to crack windows Mike Easter <MikeE@ster.invalid> - 2017-09-23 13:05 -0700
      Re: installing ubuntu to crack windows Mike Easter <MikeE@ster.invalid> - 2017-09-23 15:12 -0700
      Re: installing ubuntu to crack windows philo <philo@privacy.net> - 2017-09-24 09:49 -0500
        Re: installing ubuntu to crack windows Mike Easter <MikeE@ster.invalid> - 2017-09-24 08:50 -0700
          Re: installing ubuntu to crack windows fred flintstone <fred@server.invalid> - 2017-09-25 09:56 -0700
            Re: installing ubuntu to crack windows Mike Easter <MikeE@ster.invalid> - 2017-09-25 10:35 -0700
              Re: installing ubuntu to crack windows fred flintstone <fred@server.invalid> - 2017-09-25 10:51 -0700
                Re: installing ubuntu to crack windows Mike Easter <MikeE@ster.invalid> - 2017-09-25 11:18 -0700
                  Re: installing ubuntu to crack windows fred flintstone <fred@server.invalid> - 2017-09-26 22:23 -0700
                    Re: installing ubuntu to crack windows Paul <nospam@needed.invalid> - 2017-09-27 03:45 -0400
                    Re: installing ubuntu to crack windows Mike Easter <MikeE@ster.invalid> - 2017-09-27 08:48 -0700
                      Re: installing ubuntu to crack windows Shadow <Sh@dow.br> - 2017-09-28 16:53 -0300
                        Re: installing ubuntu to crack windows fred flintstone <fred@server.invalid> - 2017-09-29 09:19 -0700
                      Re: installing ubuntu to crack windows fred flintstone <fred@server.invalid> - 2017-09-29 15:02 -0700
                        Re: installing ubuntu to crack windows Mike Easter <MikeE@ster.invalid> - 2017-09-29 18:17 -0700
          Re: installing ubuntu to crack windows Chris Ahlstrom <OFeem1987@teleworm.us> - 2017-09-26 20:38 -0400
    Re: installing ubuntu to crack windows Paul <nospam@needed.invalid> - 2017-09-23 20:33 -0400
      Re: installing ubuntu to crack windows fred flintstone <fred@server.invalid> - 2017-09-24 08:07 -0700
        Re: installing ubuntu to crack windows Mike Easter <MikeE@ster.invalid> - 2017-09-24 08:42 -0700
          Re: installing ubuntu to crack windows fred flintstone <fred@server.invalid> - 2017-09-26 08:59 -0700
            Re: installing ubuntu to crack windows Mike Easter <MikeE@ster.invalid> - 2017-09-26 10:58 -0700
              making useful searches at terminal was Re: installing ubuntu to crack windows fred flintstone <fred@server.invalid> - 2017-09-29 09:35 -0700
                Re: making useful searches at terminal was Re: installing ubuntu to crack windows Paul <nospam@needed.invalid> - 2017-09-29 16:32 -0400
        Re: installing ubuntu to crack windows Paul <nospam@needed.invalid> - 2017-09-24 13:04 -0400
        Re: installing ubuntu to crack windows Paul <nospam@needed.invalid> - 2017-09-24 16:22 -0400
          Re: installing ubuntu to crack windows fred flintstone <fred@server.invalid> - 2017-09-26 09:03 -0700
      Re: installing ubuntu to crack windows fred flintstone <fred@server.invalid> - 2017-09-25 10:04 -0700
        Re: installing ubuntu to crack windows Paul <nospam@needed.invalid> - 2017-09-25 18:26 -0400
    Re: installing ubuntu to crack windows Big Bad Bob <BigBadBob-at-mrp3-dot-com@testing.local> - 2017-09-28 12:10 -0700

Page 2 of 2 — ← Prev page 1 [2]


#197277

FromMike Easter <MikeE@ster.invalid>
Date2017-09-24 08:42 -0700
Message-ID<f2q1ujF3tk6U1@mid.individual.net>
In reply to#197276
fred flintstone wrote:
> she's asked whether I can also get into her dead uncle's apple laptop, 
> which lays in her garage. How will such procedures go with an apple?

You didn't say which v. OS X.

All paste follows, from 
http://www.macworld.co.uk/how-to/mac/what-do-if-forgotten-mac-password-3594395/ 
  What to do if you've forgotten your Mac password:


Apple includes a tool with macOS or Mac OS X (depending on which version 
you are using) to replace a Mac's password. This is the best option if 
you have completely forgotten your password. Follow these steps:

     Turn off your Mac (choose Apple > Shut Down).
     Press the power button while holding down Command-R. The Mac will 
boot into Recovery mode. When you see the load bar appear you can let go 
of the keys. It may take a few minutes to load.
     Select Disk Utility and press Continue.
     Choose Utilities > Terminal.
     Enter resetpassword (all one word, lowercase letters) and press Return
     Select the volume containing the account (normally this will be 
your Main hard drive).
     Choose the account to change with Select the User Account.
     Enter a new password and re-enter it into the password fields.
     Enter a new password hint related to the password.
     Click Save.
     A warning will appear that the password has changed, but not the 
Keychain Password. Click OK.

-- 
Mike Easter

[toc] | [prev] | [next] | [standalone]


#197307

Fromfred flintstone <fred@server.invalid>
Date2017-09-26 08:59 -0700
Message-ID<f2vbqnFavcpU1@mid.individual.net>
In reply to#197277
On 09/24/2017 08:42 AM, Mike Easter wrote:
> fred flintstone wrote:
>> she's asked whether I can also get into her dead uncle's apple laptop, 
>> which lays in her garage. How will such procedures go with an apple?
> 
> You didn't say which v. OS X.
> 
> All paste follows, from 
> http://www.macworld.co.uk/how-to/mac/what-do-if-forgotten-mac-password-3594395/ 
>   What to do if you've forgotten your Mac password:
> 
> 
> Apple includes a tool with macOS or Mac OS X (depending on which version 
> you are using) to replace a Mac's password. This is the best option if 
> you have completely forgotten your password. Follow these steps:
> 
>      Turn off your Mac (choose Apple > Shut Down).
>      Press the power button while holding down Command-R. The Mac will 
> boot into Recovery mode. When you see the load bar appear you can let go 
> of the keys. It may take a few minutes to load.
>      Select Disk Utility and press Continue.
>      Choose Utilities > Terminal.
>      Enter resetpassword (all one word, lowercase letters) and press Return
>      Select the volume containing the account (normally this will be 
> your Main hard drive).
>      Choose the account to change with Select the User Account.
>      Enter a new password and re-enter it into the password fields.
>      Enter a new password hint related to the password.
>      Click Save.
>      A warning will appear that the password has changed, but not the 
> Keychain Password. Click OK.
> 

I'm into the mac. Bravo.
-- 
fred

[toc] | [prev] | [next] | [standalone]


#197309

FromMike Easter <MikeE@ster.invalid>
Date2017-09-26 10:58 -0700
Message-ID<f2vipfFcjojU1@mid.individual.net>
In reply to#197307
fred flintstone wrote:
> I'm into the mac. Bravo.

Good.

If the mac laptop was in the garage while the (old) XP was the more 
active computer, then the mac must've been even older than XP; which 
puts it back in the powerbook era.

What do you see if you click the apple in the upper L corner About this Mac?

-- 
Mike Easter

[toc] | [prev] | [next] | [standalone]


#197354 — making useful searches at terminal was Re: installing ubuntu to crack windows

Fromfred flintstone <fred@server.invalid>
Date2017-09-29 09:35 -0700
Subjectmaking useful searches at terminal was Re: installing ubuntu to crack windows
Message-ID<f37b2pF91k9U1@mid.individual.net>
In reply to#197309
On 09/26/2017 10:58 AM, Mike Easter wrote:
> fred flintstone wrote:
>> I'm into the mac. Bravo.
> 
> Good.
> 
> If the mac laptop was in the garage while the (old) XP was the more 
> active computer, then the mac must've been even older than XP; which 
> puts it back in the powerbook era.
> 
> What do you see if you click the apple in the upper L corner About this 
> Mac?
> 

I'll tell you when I boot up the mac again.

I struggle with the GUI on the MAC. Quentin's mouse feels like half a 
mouse to me: no scroll bar. If I bring up a terminal, how unixy is it?

Wouldn't the same commands work there that work here, for example:

grep -R Natasha >1.natasha.txt

. On my ubuntu reclamation, the output of this is so voluminous and has 
special characters that it cannot be rendered with gedit.

Let me ask the questions like this, and there will be two of them.

1) In making forensic searches, we pick up a bunch of files that were 
not meant to be human-readable, so we want to limit the search to the 
ones that don't make gedit take a dump. How do I alter the above command 
when I do this search on ubuntu?

2) Is it an different on a mac?

You guys made my gratitude list this week.
-- 
fred flintstone

[toc] | [prev] | [next] | [standalone]


#197359 — Re: making useful searches at terminal was Re: installing ubuntu to crack windows

FromPaul <nospam@needed.invalid>
Date2017-09-29 16:32 -0400
SubjectRe: making useful searches at terminal was Re: installing ubuntu to crack windows
Message-ID<oqmakc$38i$1@dont-email.me>
In reply to#197354
fred flintstone wrote:
> On 09/26/2017 10:58 AM, Mike Easter wrote:
>> fred flintstone wrote:
>>> I'm into the mac. Bravo.
>>
>> Good.
>>
>> If the mac laptop was in the garage while the (old) XP was the more 
>> active computer, then the mac must've been even older than XP; which 
>> puts it back in the powerbook era.
>>
>> What do you see if you click the apple in the upper L corner About 
>> this Mac?
>>
> 
> I'll tell you when I boot up the mac again.
> 
> I struggle with the GUI on the MAC. Quentin's mouse feels like half a 
> mouse to me: no scroll bar. If I bring up a terminal, how unixy is it?
> 
> Wouldn't the same commands work there that work here, for example:
> 
> grep -R Natasha >1.natasha.txt
> 
> . On my ubuntu reclamation, the output of this is so voluminous and has 
> special characters that it cannot be rendered with gedit.
> 
> Let me ask the questions like this, and there will be two of them.
> 
> 1) In making forensic searches, we pick up a bunch of files that were 
> not meant to be human-readable, so we want to limit the search to the 
> ones that don't make gedit take a dump. How do I alter the above command 
> when I do this search on ubuntu?
> 
> 2) Is it an different on a mac?
> 
> You guys made my gratitude list this week.

You can use a standard three button mouse on the Mac.

On the oldest Mac, I uses a three button mouse (no scroll wheel)
and the mouse had the ADB cable on it. That's a bus that
existed before USB.

The newest Mac I've got, I use the same Logitech M-BQ85 mouse
on both that Mac and on the PCs. It has a scroll wheel, plus
clicks for the three buttons as well. You should get some good
usage of your PC mouse on a modern (USB) Mac. The scroll wheel
should work.

One of the reasons for my affection for the three button mice,
is I used MacX for connecting to Unix boxen. And MacX is hell
without a good mouse. It's sooo much easier having a one
to one correspondence on mouse buttons. The kludge to fake
mouse buttons is horrible.

*******

When all else fails, in terms of file handling, use a hex editor.

That's if you're doing forensics, and you "don't want to miss
something".

The Linux "strings" command, can be used to filter an output
file a bit. You can even specify the length of strings
as a further attempt at filtering. But you only want to
use "strings", when you know what it's throwing away!
Don't use it first thing. Survey the situation first,
and figure out whether "strings" is a good thing to do.

Windows Wordpad is pretty resistant to being tipped over
when fed binary :-) I always liked that. Since the behavior
could not be regarded as being "compliant" with anything,
you'll probably find other editors doing the best they
can to "over-interpret everything". But Wordpad, I cannot
remember a case where I fed it a garbage diet and it
didn't come back asking for more. A minus on Windows editors
of that sort, is they're real slow opening large files.
Don't even think about doing a file&replace through an
entire big file with those.

You have command line editors in Linux too. You could
open your text tile with "vim" or "nano", but since
I don't really know what's in that file you've created,
I cannot guess what the result would be.

When you ran that grep...

1) You must have been on MacOSX. As it would have a grep.
    The MacOS (classic) would not have a grep. You'd
    have to use a third party grep on MacOS.

2) You did grep -R on some portion of the file
    system hierarchy. Did you limit yourself to the
    home directory of the owner, or did you scan from / ?
    If you started from the top of the file tree, who knows,
    there might be a database of some sort in there. I don't
    think my Mac G4 had an inverted index for text search,
    so you probably didn't run into that.

My favorite hex editor to date, is this one for Windows.
It can actually open Windows volumes at the sector level,
as well as working with (binary) files.

https://mh-nexus.de/en/hxd/

Once you have some idea what "material" is in that file,
perhaps you can craft a means to clean it up a bit.

Also, one other bit of feedback about what you did.
This option, is your friend.

    grep -i Natasha

Why ?

It makes the search case insensitive. I use that option *a lot*.
If an instance was spelled natashA, you'd find it. The regular
command is case-sensitive, and you need -i to fix that.

If you can find a Linux hex editor you like, perhaps you
can make a screen shot and post it. Here, someone has posted
the first sector of an NTFS partition. The approximate text
representation is shown in the right-hand pane.

https://mh-nexus.de/en/graphics/HxDShotLarge.png

You can post screenshots here if you want.

https://postimage.org/index.php?um=flash

The tough part, is copying the right snippet of
stuff from the pallet of URLs it returns after the
upload is complete. For best upload speed, I put
images which have limited color palettes up as GIF
files. And upload JPGs only if presenting scenery
or something. GIF is good enough for a picture of
a hex editor. The only reason I want to see
a picture via a hex editor, is I'm trying to understand
what kind of Mac file you ran into. Doing a scan like
that should only hit the data fork. I would expect
to find binary in a Resource fork, but you don't
get that by grepping. If you use Macbinary to
put the two forks into one file, then you would
"see everything". But for forensic work, I can't
think of a reason off hand why you'd bother
scrapeing resource forks. They're an important
part of executables, but "mostly optional" in a
lot of other situations.

When I'm working with Postimg, I use two web browsers.
I do the upload with one web browser. Then, I copy
the generated URL from the upload, into a second
browser, and verify that the image is full sized and
readable. That's an attempt to catch mistakes before
it's too late.

    Paul

[toc] | [prev] | [next] | [standalone]


#197279

FromPaul <nospam@needed.invalid>
Date2017-09-24 13:04 -0400
Message-ID<oq8ojm$rk0$1@dont-email.me>
In reply to#197276
fred flintstone wrote:

> Excellent reading and thanks all for comments. Not to change the subject 
> too much, but now that "she" has figured out that I can do this, with 
> the help of my on-line gurus, she's asked whether I can also get into 
> her dead uncle's apple laptop, which lays in her garage. How will such 
> procedures go with an apple?

I've never managed to lock myself out of my Mac G4,
so can't comment on hacking such things.

You can mount Mac partitions in Linux, if you're sufficiently
steeled for the experience. I've done that before.

I keep images I made with "dd" from the Mac, on this PC.
I've managed to run SheepShaver and PearPC on this PC,
and I cannot remember which, but I booted the disk image
from my G4 on this PC using one of those emulators. I
removed the disk size limit in the EXE, so that larger
disks (>33GB) could be used, and it works fine. The only hard
part of that setup, is there isn't really a good way to
get files out of the emulator (as the networking in those
environments relies on tap/tun, and they always use
the worst possible ancient plugins to make that almost work).

This is SheepShaver and PearPC running at the same time
on a WinXP SP3 setup, using a Knoppix background image
for the WinXP screen background.

https://s3.postimg.org/c4rthg1kj/Mac_OS_Mac_OSX_on_Win_XP.jpg

Mounting the disks (or even disk images you make of the laptop),
should be a cinch compared to getting crap like that working :-)

*******

In this example, macsda.dd file is an 80GB sector by sector image
of the Mac disk. While I have a PowerPC version of Ubuntu that boots
on the Macintosh G4, it's not really all that convenient to work
that way. So I imaged the two disk drives in the Mac, so I could
work on them without using the Mac G4 at all.

    disktype macsda.dd

And this is the output I got.
This is the primary drive in my G4, sporting MacOSX 10.2.

--- macsda.dd
Regular file, size 74.53 GiB (80026361856 bytes)
Apple partition map, 10 entries
Partition 1: 31.50 KiB (32256 bytes, 63 sectors from 1)
   Type "Apple_partition_map"
Partition 2: 28 KiB (28672 bytes, 56 sectors from 64)
   Type "Apple_Driver43"
Partition 3: 28 KiB (28672 bytes, 56 sectors from 120)
   Type "Apple_Driver43"
Partition 4: 28 KiB (28672 bytes, 56 sectors from 176)
   Type "Apple_Driver_ATA"
Partition 5: 28 KiB (28672 bytes, 56 sectors from 232)
   Type "Apple_Driver_ATA"
Partition 6: 256 KiB (262144 bytes, 512 sectors from 288)
   Type "Apple_FWDriver"
   Blank disk/medium
Partition 7: 256 KiB (262144 bytes, 512 sectors from 800)
   Type "Apple_Driver_IOKit"
   Blank disk/medium
Partition 8: 256 KiB (262144 bytes, 512 sectors from 1312)
   Type "Apple_Patches"
Partition 9: 74.53 GiB (80025423872 bytes, 156299656 sectors from 1824)   <--- must mount partition 9
   Type "Apple_HFS"
   HFS file system
     Volume name "Macintosh HD"
     Volume size 74.53 GiB (80024608768 bytes, 65342 blocks of 1.168 MiB)
   HFS wrapper for HFS Plus
     HFS Plus file system
       Volume size 74.52 GiB (80018485248 bytes, 19535763 blocks of 4 KiB)
Partition 10: 4 KiB (4096 bytes, 8 sectors from 156301480)
   Type "Apple_Free"
   Blank disk/medium

This touches on doing the actual mount. This uses a physical disk,
so there is a way to specify exactly which partition to mount,

https://superuser.com/questions/84446/how-to-mount-a-hfs-partition-in-ubuntu-as-read-write

This one mentions the partition labeling scheme (BSD like???).
I had some tool in the past, that liked this style of identifier.

https://wiki.archlinux.org/index.php/mac#HFS_partition_sharing

    disk0s2        like /dev/sda2 ???

In any case, the toughest part is identifying which
partition you really need to mount. My second disk
image (macsdb.dd) has something like 20 partitions on it,
and you really need the map shown above, to find your way
around in there.

Once you have a Mac disk mounted, you should be aware bout
resource and data fork. Chances are, the Linux mount only
exposes the data fork. If you were to use SheepShaver,
you could use Macbinary??? to encode both the resource and
data fork, for transport to another Mac.

(At least by remembering that keyword, I can find more info...)

https://en.wikipedia.org/wiki/Macbinary

For the most part, for user data, the data fork should be enough,
and if you're in a hurry to review for a last will and testament,
then tarring up all the files on the volume when it's mounted,
might be enough for a first pass. If you were moving executables
around, you want both the resource and data fork for that.
These forks, are similar to the concept of Alternate Streams
on NTFS in Windows. On Windows, the data fork would be the
"ordinary file", while the resource fork (metadata) could
be stored as an alternate stream.

I don't do this often enough to remember the details,
but I can assure you that you will have "fun".

*******

My notes say:

    sudo mount -t hfsplus -o loop macsda.dd /media/macsda

    Seems to work, because that is the first hfs+ partition
    on that drive.

That means not having to specify partition 9 in the example.
I'm doing a loopback mount of a disk image there, and not
physically using the Mac hard drive itself. If I had booted
the PowerPC Ubuntu right on the G4, I might be able to use
the other mount command in the SuperUser article.

This is the tail end of my macsdb.dd image output. (I'm going to
have a problem loopback mounting this, unless I can excise
just the appropriate section of the file or something.) And if
I want a specific hfsplus partition there, I'm going to need an
identifier to get it! sdb26 or so.

Partition 26: 250 MiB (262144000 bytes, 512000 sectors from 155711328)
   Type "Apple_HFS"
   HFS file system
     Volume name "Macintosh_HD_2"
     Volume size 250.0 MiB (262127616 bytes, 63996 blocks of 4 KiB)
   HFS wrapper for HFS Plus
     HFS Plus file system
       Volume size 249.9 MiB (262086656 bytes, 63986 blocks of 4 KiB)
       Volume name "Macintosh_HD_2"
Partition 27: 38.16 MiB (40017920 bytes, 78160 sectors from 156223328)
   Type "Apple_Free"
   Blank disk/medium

*******

There's another way to do this, but I'll have to try a
few things first.

    Paul

[toc] | [prev] | [next] | [standalone]


#197285

FromPaul <nospam@needed.invalid>
Date2017-09-24 16:22 -0400
Message-ID<oq945j$n78$1@dont-email.me>
In reply to#197276
fred flintstone wrote:

> 
> Excellent reading and thanks all for comments. Not to change the subject 
> too much, but now that "she" has figured out that I can do this, with 
> the help of my on-line gurus, she's asked whether I can also get into 
> her dead uncle's apple laptop, which lays in her garage. How will such 
> procedures go with an apple?

The other packages are

    hfsplus      "hpmount"    for hfs+ partitions (MacOSX 10.3 etc)
    hfsutils     "hmount"     for hfs partitions  (MacOS 6..9 etc)

and these interact with a Mac volume, without regular mounting.
Now, the man page for the first one, claims the hpmount works
with bitmap disk images, and I couldn't get it to work.

   hpmount -r -p9 macsda.dd

Whereas, if I use the more modern methods (where you
cannot specify which partition inside the bitmap image
to use), it works.

sudo mount -t hfsplus -o loop,ro macsda.dd /media/macsda

That mounted partition #9 as shown by disktype, and that
partition is the one and only HFS+ partition there. And
I can use

    ls  /media/macsda

and see the data forks of the files.

To get hpmount to work, I might have to "carve out"
the section of macsda.dd that corresponds to partition
#9 as an example, using dd with seek/skip. Then put the
results into a file containing only the partition. And I
don't have a tool listing the offset and length, to be
able to do that.

If you're working directly on the machine, maybe a
reference to /dev/sda9 will work better. I can't really
test that (opening the Mac isn't an option, as it's
a scissor-case and a bitch to work with - it's one of
the reasons I imaged those disks in the first place).

It's quite possible, a regular Mac that hasn't been
modified, this sort of thing will "just work (tm)".
The syntax of the command allows specifying a partition,
and my "disktype" command says mine is partition #9. YMMV
of course. I could, say, boot a LiveDVD known to
work in Macs, and mount the Mac hard drive this way.
Or, move the Mac hard drive to the Linux box, and
do these commands there. In this example, the Mac
disk is assumed to be the third disk "sdc".

    # determine which hfs+ partition to examine
    sudo disktype /dev/sdc

    sudo mkdir /media/mymac
    sudo mount -t hfsplus -o ro /dev/sdc9 /media/mymac

    # nautilus or thunar, copy files or whatever
    # now clean up

    cd ~
    sudo umount /media/mymac
    sudo rmdir  /media/mymac

HTH,
     Paul

[toc] | [prev] | [next] | [standalone]


#197308

Fromfred flintstone <fred@server.invalid>
Date2017-09-26 09:03 -0700
Message-ID<f2vc1nFavcpU2@mid.individual.net>
In reply to#197285
On 09/24/2017 01:22 PM, Paul wrote:
> fred flintstone wrote:
> 
>>
>> Excellent reading and thanks all for comments. Not to change the 
>> subject too much, but now that "she" has figured out that I can do 
>> this, with the help of my on-line gurus, she's asked whether I can 
>> also get into her dead uncle's apple laptop, which lays in her garage. 
>> How will such procedures go with an apple?
> 
> The other packages are
> 
>     hfsplus      "hpmount"    for hfs+ partitions (MacOSX 10.3 etc)
>     hfsutils     "hmount"     for hfs partitions  (MacOS 6..9 etc)
> 
> and these interact with a Mac volume, without regular mounting.
> Now, the man page for the first one, claims the hpmount works
> with bitmap disk images, and I couldn't get it to work.
> 
>    hpmount -r -p9 macsda.dd
> 
> Whereas, if I use the more modern methods (where you
> cannot specify which partition inside the bitmap image
> to use), it works.
> 
> sudo mount -t hfsplus -o loop,ro macsda.dd /media/macsda
> 
> That mounted partition #9 as shown by disktype, and that
> partition is the one and only HFS+ partition there. And
> I can use
> 
>     ls  /media/macsda
> 
> and see the data forks of the files.
> 
> To get hpmount to work, I might have to "carve out"
> the section of macsda.dd that corresponds to partition
> #9 as an example, using dd with seek/skip. Then put the
> results into a file containing only the partition. And I
> don't have a tool listing the offset and length, to be
> able to do that.
> 
> If you're working directly on the machine, maybe a
> reference to /dev/sda9 will work better. I can't really
> test that (opening the Mac isn't an option, as it's
> a scissor-case and a bitch to work with - it's one of
> the reasons I imaged those disks in the first place).
> 
> It's quite possible, a regular Mac that hasn't been
> modified, this sort of thing will "just work (tm)".
> The syntax of the command allows specifying a partition,
> and my "disktype" command says mine is partition #9. YMMV
> of course. I could, say, boot a LiveDVD known to
> work in Macs, and mount the Mac hard drive this way.
> Or, move the Mac hard drive to the Linux box, and
> do these commands there. In this example, the Mac
> disk is assumed to be the third disk "sdc".
> 
>     # determine which hfs+ partition to examine
>     sudo disktype /dev/sdc
> 
>     sudo mkdir /media/mymac
>     sudo mount -t hfsplus -o ro /dev/sdc9 /media/mymac
> 
>     # nautilus or thunar, copy files or whatever
>     # now clean up
> 
>     cd ~
>     sudo umount /media/mymac
>     sudo rmdir  /media/mymac
> 

A lot of great information and methods here, paul. I've never been savvy 
to mounting volumes, so this was a great read for me.
-- 
fred

[toc] | [prev] | [next] | [standalone]


#197295

Fromfred flintstone <fred@server.invalid>
Date2017-09-25 10:04 -0700
Message-ID<f2sr8dFnl9oU1@mid.individual.net>
In reply to#197274
On 09/23/2017 05:33 PM, Paul wrote:

> The very first thing I'd do, is back up the drive.
>
> In case of breakage while handling.
>
> You can do a sector-by-sector "dd" and store the disk content on
> one of your backup disks. I have a 4TB drive sitting here,
> normally available for such things.


How do you attach these drives to the host device? Can it be done with 
the usb stick that live is on? Good Lord, it's 32 gigs. Xp is a 
fossil--Window's best IMO--and he had very little in terms of big 
binaries for entertainment. He hated stuff like that. This cat wrote.
>
> If I have any sort of forensic thing to do at all,
> I like to have two drives handy. One drive is for
> plain backups or cloning. The second drive is used
> to hold the "recovered materials", whatever they
> might be.
>
> And a LiveCD/LiveDVD gives you a good tool to do
> your forensics. You don't need to leave any "marks"
> on the thing you're doing the forensics on. You can
> even mount drives read-only, so as not to damage them.
> (That was the default on Knoppix 5.3.1, but hand-issued
> mount commands in any other distro, will allow passing
> a read-only option to "mount".)
>
> Since you say the individual was "quite bright",
> there could be any number of barriers to progress.
> Windows passwords isn't one of them - Windows is
> designed on purpose, to "not lose the administrator
> account", and was intentionally not sewn up like a drum.
> But other things (EFS, Bitlocker, TrueCrypt), could
> spoil your day.
>
> BIOS level passwords used to be easy to defeat,
> since the two BIOS passwords are stored in CMOS RAM.
> And simply removing AC power, and the CR2032 coin
> cell, resets the two passwords. However, business class
> laptops store the password in a 2KB EEPROM, and removing
> both batteries in those will do nothing with regard to
> passwords. So if you think every computer is easy to
> break into, no, not all of them. The machines with the
> 2KB EEPROM, need a DIP clip and a reprogrammer. A dude
> in Eastern Europe used to provide a kit for this. The
> manufacturer of that machine, will only reset the password
> if the machine is sent back to the factory. Not even
> local shops are supposed to do it (but of course, there's
> always someone who will do it for you).
>
> If the machine has a BIOS password, simply pull the hard
> drive out of the case, and back it up on your
> technician machine.
>
> There are proper FDE installations. An OEM can integrate
> the little interface that works with Seagate Momentus FDE.
> If you take one of those drives over to your technician
> machine, all you'll see is binary garbage. Those machines
> would be HIPPA compliant, and you'll need your Black Hat
> and Class 10 clean lab for those.

Dell XPS let me in F12. No special encryption scenarios on this machine.
-- 
fred

[toc] | [prev] | [next] | [standalone]


#197304

FromPaul <nospam@needed.invalid>
Date2017-09-25 18:26 -0400
Message-ID<oqbvrd$q90$1@dont-email.me>
In reply to#197295
fred flintstone wrote:
> On 09/23/2017 05:33 PM, Paul wrote:
> 
>> The very first thing I'd do, is back up the drive.
>>
>> In case of breakage while handling.
>>
>> You can do a sector-by-sector "dd" and store the disk content on
>> one of your backup disks. I have a 4TB drive sitting here,
>> normally available for such things.
> 
> 
> How do you attach these drives to the host device? Can it be done with 
> the usb stick that live is on? Good Lord, it's 32 gigs. Xp is a 
> fossil--Window's best IMO--and he had very little in terms of big 
> binaries for entertainment. He hated stuff like that. 

You can put a 4TB drive in a USB carrier.

I use just the controller board out of a 3.5" enclosure,
to run 3.5" hard drives here. The wall wart that comes
with the enclosure, provides power.

On 2.5" drives, I can use one of these. This is what I bought
for an SSD, just a couple days ago. The limitation on concepts
like this, is USB3 is limited to 900mA of current at 5V. There
is only 4.5W of power available. I checked my new SSD and it
draws 320mA while running full blast (even though the nameplate
rating is a whole 1.5 amps). The 2.5" drives run off 5V power.
By measuring this, I know my SSD won't have any "flaky moments"
due to power issues. It's running at 30% of max.

https://www.startech.com/HDD/Adapters/USB-3-SATA-adapter-cable-with-UASP~USB3S2SAT3CB

This is what I use for hard drives. This comes with a power adapter.
The adapter creates 12V for usage by the drive directly.
A regulator on the PCB makes 5V for the drive. The drives use
+12V, +5V, GND, GND.

You want to visit the web site, to get the "capacity limit".
Note the weasel words.
This was an impulse buy at the local computer store, for $30.
The power adapter hasn't even blown up yet :-)

http://www.vantecusa.com/products_detail.php?p_id=29

    Model:    NST-366S3-SV

    Device Support: SATA I/II/III Hard Drive
    Device Size:  3.5"
    Internal Interface:  SATA
    External Interface:  USB 3.0 ( Backwards compatible with USB 2.0 & 1.1 )
    HDD Capacity:  Up to 8TB (Current shipping product support)               <----- Hahaha
    Material:  Aluminum/Plastic
    Dimension:  191.5 x 115.4 x 32 mm
    USB Cable Length:  914mm (36 inches)

    System Requirements:  Windows 7/ 8/ 10 or later, Mac OS X 10.6 or later,
                          computer with USB 3.0 or USB 2.0 port

    What's included:  Enclosure, USB 3.0 cable, AC adapter,
                      Quick Install Guide, Installation Screws

I don't use the enclosure on that, and just use the PCB and cables.

https://images10.newegg.com/NeweggImage/ProductImageCompressAll1280/17-392-076-07.jpg

https://images10.newegg.com/NeweggImage/ProductImageCompressAll1280/17-392-076-08.jpg

Note, if you use a 2TB drive, you can use MSDOS partitioning
and not need to use GPT. 2TB is about as close to trouble-free
as you can get with 3.5" stuff. For example, WinXP doesn't
support GPT. And while I ran into some hack for GPT on WinXP,
I haven't tested it. When I need to do "maintenance" on my
WinXP disk, I use a Win8 boot drive (from the era when
Win8 was on sale for $39.95 a copy). That gives me GPT
capability on this side of the room.

Those are examples of some toys.

The power adapter is perhaps 12V @ 2A.

Hard drives have "startup current" and "steady current".
The steady current is about 12V @ 1A, so no problem there.
Large drives use a bit more current for the first 10 seconds.
Small drives, like a 500GB boot drive, use larger current
for a period of 5 seconds, so they spin up faster. The
current consumption situation is counter-intuitive. That
adapter probably wouldn't work with some older drives,
that I swear I measured at around 3 amps. I have yet to
have a situation where I've been disappointed by those
disk drive power adapters - but the specsmanship is
worrying. The mismatch of paper spec versus actual
behavior (on both the part of the adapter, and
of the disk drive). My clamp-on DC ammeter gets
a lot of usage here :-) Just so I can understand why
stuff works.

On the SSD, I measured the power for a reason. SSD
drives with Sandforce-style data compression (Kingston SSDs),
have high peak power, and might not fit within the
USB3 power envelope. That's what I'm watching for
when I test power-limited setups like that USB3 cable.
The printed specs for most brands of SSDs are
useless, and a waste of paper. Measurement can be
used to give some idea what they really need.
The SSD I bought was a Samsung, but so far the
transfer rate hasn't been all that consistent.

    Paul

[toc] | [prev] | [next] | [standalone]


#197327

FromBig Bad Bob <BigBadBob-at-mrp3-dot-com@testing.local>
Date2017-09-28 12:10 -0700
Message-ID<c4-dnSeTgoze1FDEnZ2dnUU7-U-dnZ2d@earthlink.com>
In reply to#197269
On 09/23/17 11:40, fred flintstone wrote:
> Hi NG,
> 
> I'm always showing here with strange problems. This is one of them. I 
> have a friend who tipped over dead, leaving my gf and me to resolve his 
> estate mod one, and his according to he local authorities. He was quite 
> bright but set in his ways, choosing, as many did in washington state to 
> a) use windows and b) not go farther with it than xp.
> 
> What I'm presented with is a password login that I failed to get past 
> with 2 attempts. I didn't want to lock it up, so I stopped there. What I 
> was thinking of doing is using an ubuntu live disc/flash drive to 
> install ubuntu, and then I could at least access that file system in a 
> way that I could export files out.

you're probably better off using the install media to reset the 
administrator password

then you can install Linux on it, after you've backed up the important 
things.

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

Back to top | Article view | alt.os.linux.ubuntu


csiph-web