Breaking in to an inherited AIX installation

IBM workstations/servers/mainframes and operating systems (AIX, OS/2, etc.)
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
aperezbios
Posts: 67
Joined: Fri Mar 20, 2009 9:40 pm
Location: San Francisco Bay Area Peninsula
Contact:

Breaking in to an inherited AIX installation

Unread postby aperezbios » Fri Jun 19, 2015 10:58 am

As mentioned in another thread, I picked up an IBM RS/6000 7043-140, a 266MHz based 604e, and it came with an install of AIX 4.2 on a hellaciously-loud 4GB SCSI-II drive. I'd like to know if there's any equivalent in AIX-land to what I would do under Linux to recover root access to a machine, eg interrupt boot loader, add "single init=/bin/sh" to the bootargs, and then modify /etc/password and/or shadow.

Suggestions?

User avatar
uunix
Donor
Donor
Posts: 1808
Joined: Sun Mar 27, 2011 12:48 pm
Location: Stourbridge / England / UK

Re: Breaking in to an inherited AIX installation

Unread postby uunix » Fri Jun 19, 2015 11:34 am

iirc even booting into single user requires the root password.

Do you have the media disks?
-----------------------------------------------------------------------
Hey Ho! Pip & Dandy!
:Octane2: :O2: :Indigo: :Indy:
-----------------------------------------------------------------------

nyef
Posts: 73
Joined: Tue Apr 28, 2015 7:54 pm

Re: Breaking in to an inherited AIX installation

Unread postby nyef » Fri Jun 19, 2015 11:58 am

Crazy question, but... Can you mount the disk in another machine and hack the password file that way?

User avatar
Trippynet
Donor
Donor
Posts: 813
Joined: Thu Aug 15, 2013 6:22 am
Location: Aberdeen, Scotland, UK

Re: Breaking in to an inherited AIX installation

Unread postby Trippynet » Fri Jun 19, 2015 12:38 pm

Yes.

Full instructions are in the Wiki.
Systems in use:
:Indigo2IMP: - Nitrogen: R10000 195MHz CPU, 384MB RAM, SolidIMPACT Graphics, 36GB 15k HDD & 300GB 10k HDD, 100Mb/s NIC, New/quiet fans, IRIX 6.5.22
:Fuel: - Lithium: R14000 600MHz CPU, 4GB RAM, V10 Graphics, 72GB 15k HDD & 300GB 10k HDD, 1Gb/s NIC, New/quiet fans, IRIX 6.5.30
Other system in storage: :O2: R5000 200MHz, 224MB RAM, 72GB 15k HDD, PSU fan mod, IRIX 6.5.30

User avatar
foetz
Moderator
Moderator
Posts: 6593
Joined: Mon Apr 14, 2003 4:34 am
Contact:

Re: Breaking in to an inherited AIX installation

Unread postby foetz » Fri Jun 19, 2015 12:45 pm

Trippynet wrote:Yes.

Full instructions are in the Wiki.

this is about irix, not aix

User avatar
uunix
Donor
Donor
Posts: 1808
Joined: Sun Mar 27, 2011 12:48 pm
Location: Stourbridge / England / UK

Re: Breaking in to an inherited AIX installation

Unread postby uunix » Fri Jun 19, 2015 1:35 pm

Same would apply if you have another AIX box able to take said drive. I don't think shadow password malarkey was too strong in 4.x ???
-----------------------------------------------------------------------
Hey Ho! Pip & Dandy!
:Octane2: :O2: :Indigo: :Indy:
-----------------------------------------------------------------------

User avatar
foetz
Moderator
Moderator
Posts: 6593
Joined: Mon Apr 14, 2003 4:34 am
Contact:

Re: Breaking in to an inherited AIX installation

Unread postby foetz » Fri Jun 19, 2015 2:16 pm

sure, the general concept goes for all. usually comes down to either booting with the os cd or putting the disk into another machine

User avatar
ClassicHasClass
Donor
Donor
Posts: 2109
Joined: Wed Jul 25, 2012 7:12 pm
Location: Sunny So Cal
Contact:

Re: Breaking in to an inherited AIX installation

Unread postby ClassicHasClass » Fri Jun 19, 2015 3:29 pm

There are a couple of local attacks you can mount, but you need to have *a* login (I broke into one of my old systems this way when I forgot what the root password was). I believe there are some CDE attacks you can try too, but since you have a real IBM machine, better just to get an AIX disc. You'll need it sooner or later anyway.
smit happens.

:Fuel: bigred, 900MHz R16K, 4GB RAM, V12 DCD, 6.5.30
:Indy: indy, 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
:Indigo2IMP: purplehaze, 175MHz R10000, Solid IMPACT
probably posted from Image bruce, Quad 2.5GHz PowerPC 970MP, 16GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * RDI PrecisionBook * BeBox * Solbourne S3000 * Commodore 128 * many more...

User avatar
Trippynet
Donor
Donor
Posts: 813
Joined: Thu Aug 15, 2013 6:22 am
Location: Aberdeen, Scotland, UK

Re: Breaking in to an inherited AIX installation

Unread postby Trippynet » Sat Jun 20, 2015 5:29 am

foetz wrote:this is about irix, not aix


Whoops, so it is. My bad :(
Systems in use:
:Indigo2IMP: - Nitrogen: R10000 195MHz CPU, 384MB RAM, SolidIMPACT Graphics, 36GB 15k HDD & 300GB 10k HDD, 100Mb/s NIC, New/quiet fans, IRIX 6.5.22
:Fuel: - Lithium: R14000 600MHz CPU, 4GB RAM, V10 Graphics, 72GB 15k HDD & 300GB 10k HDD, 1Gb/s NIC, New/quiet fans, IRIX 6.5.30
Other system in storage: :O2: R5000 200MHz, 224MB RAM, 72GB 15k HDD, PSU fan mod, IRIX 6.5.30


Return to “IBM”

Who is online

Users browsing this forum: No registered users and 1 guest