Live data from Hacker News

Reproducing the printer hack of Windows 95

dpolakovic.space

11–20 of 51 posts

Re: Reproducing the printer hack of Windows 95

#11
post #10

I always thought that GIF was of NT 4, not Win95, because the Logon box has a Domain field. Question mark ?

Windows 95 "login" boxes are provided by the network driver, which can ask for any fields it likes.

In this example it's definitely Windows 95, because "Setup MSN" is on the desktop at the end. This was never bundled with NT.

Re: Reproducing the printer hack of Windows 95

#12
One other trick when the administrator had locked down the Registry Editor was to use the EDIT.COM program to modify REGEDIT.EXE and corrupt the "DisableRegistryTools" string, and save it in some directory you have write access to. Then it wouldn't read the value keyed by that string in the registry. If I remember correctly you'd have to open EDIT with a command line parameter that enabled binary mode, something like "/78".

Sometimes the Run box and the Command Prompt were locked down too, to get around that you could navigate to C:\WINDOWS\SYSTEM32 in Explorer and run FTP.EXE, then use the "!" command to run whatever other commands you needed.

If Microsoft Office was installed, another easy way to run whatever you wanted despite lockdown settings was to open Excel or Word and go to the VBA (Visual Basic for Applications) window with Alt+F11, and use the Shell() function from the Immediate pane.

Re: Reproducing the printer hack of Windows 95

#14
I remember a similar thing with the Novell login at school on Windows XP.

If you just unplugged the ethernet cable at the right time, you would login straight away and even with a higher permission account compared to a normal login.

Nobody really cared about computer security back then.

Re: Reproducing the printer hack of Windows 95

#16
post #8

The "login" dialog on Windows 95 was just providing network credentials. Windows 95 is a single-user OS. There is no actual login or security.

Technically True.

But there was an optional registry key that prevents the user from doing anything until after you were logged into the network. So practically, it was a login dialog.

But still no security.

Re: Reproducing the printer hack of Windows 95

#17

The rant about qemu/kvm at the bottom is weird. Has the author never heard of virt-manager or gnome-boxes?

    # create disk image 
    qemu-img create -f qcow2 win95.img 10G
    # install win95 from iso
    qemu-system-x86_64 -m 256 -hda win95.img -cdrom windows95.iso -boot d
    # boot the disk
    qemu-system-x86_64 -m 256 -hda win95.img

Re: Reproducing the printer hack of Windows 95

#18
Cool. No substantial comment but found this quite entertaining to read.

> * I prefer to use VirtualBox because I am unable to make QEMU/KVM work, since I am not a rocket scientist. I don't see the advantage of a package manager when I have to edit random config files and hunt for tutorials. Why this can't be managed by APT or explained by the developer/maintainer? Seriously, why this needs to be another Wine-like experience is beyond me.

Not sure what this means to be honest: "I don't see the advantage of a package manager when I have to edit random config files and hunt for tutorials. Why this can't be managed by APT or explained by the developer/maintainer?" Nor this: "Seriously, why this needs to be another Wine-like experience is beyond me."

Of course, Virtualbox is substantially fine for this sort of thing, but Qemu/KVM isn't that absurd. Qemu is just an ordinary CLI program. Admittedly, forging a proper Qemu command for running a VM is an exercise in frustration because the CLI arguments have changed over time and some of them are now quite complicated to set up, but this is more FFMPEG-like than Wine-like.

That said, if you want to use Qemu/KVM more like a desktop virtualization solution, try libvirt with virt-manager. That will give you a GUI with wizards. It's a little weird, but very powerful.

Virtualbox may still be better for Windows 95. Honestly, 86Box may be best for Windows 95, being an emulator of older hardware rather than a VM.

Re: Reproducing the printer hack of Windows 95

#19

The rant about qemu/kvm at the bottom is weird. Has the author never heard of virt-manager or gnome-boxes?

virt-manager/gnome-boxes haven't achieved the same mindshare as, say, virtualbox, so it is entirely possible.

I know when I took a break from VMs for awhile and came back, I found virt-manager about 3 days after I started trying to crack the nut of qemu/kvm from only the command line.

Re: Reproducing the printer hack of Windows 95

#20

The rant about qemu/kvm at the bottom is weird. Has the author never heard of virt-manager or gnome-boxes?

# create disk image qemu-img create -f qcow2 win95.img 10G # install win95 from iso qemu-system-x86_64 -m 256 -hda win95.img -cdrom windows95.iso -boot d # boot the disk qemu-system-x86_64 -m 256 -hda win95.img

Now configure the network card on that thing
Post reply on HN