r/linuxquestions • u/WantDebianThanks • Jan 01 '22
Replacement for Damn Vulnerable Linux?
Once upon a time there was a distro called Damn Vulnerable Linux that was based on slackware and only available on i486 CPU's and was, well, damn vulnerable. Meant for cybersec students, it was stuffed to the tits with outdated software and bad configs that meant that, out of box, it was the most vulnerable OS on the market, and it looks like a pretty fun way to spend a long weekend. But it looks to have been last released in 2010, which puts a halt on the party train.
Now, you can still find DVL iso's on torrent sites, but I wanted to see if anyone has made a new project with a similar mission of handing you a broken and dangerous OS and telling you to have fun fixing it.
26
u/BCMM Jan 01 '22 edited Jan 01 '22
only available on i486 CPU's
x86 processors are backwards-compatible (and amd64 processors are backwards-compatible with x86). If you have a standard desktop PC, your current CPU will still run an i486 distro like DVL. It was pretty common, at that time, for 32-bit distros to target the 486 for maximum compatibility, despite almost all of their users having at least an i686.
(It'll certainly fail to recognise certain modern hardware, such as NVMe storage, but that shouldn't be much of an obstacle to using it as a live system.)
I appreciate that some more current security issues would be useful, but just wanted to clarify about CPU support.
8
u/WantDebianThanks Jan 01 '22
Pretty sure DVL was in the Kernel 2.x days too, so I don't know how much use a modern linux or security practitioner would get out of DVL these days.
Though it is interesting that x86 and i486 are compatible. I got into IT as 32 bit was going away and x64_86 was eating the world, so I've never had much of a reason to know this kind of thing.
-3
u/fakeMUFASA Jan 01 '22
Well, even on a 64 bit OS, most programs run in 32 bit mode, thats why ubuntu removing 32 bit libraries became such a major fiasco
7
Jan 01 '22
Isn't it just like games and steam though? Haven't needed anything related to 32bit for years myself except games lol
6
u/fakeMUFASA Jan 01 '22
On windows side it is a lott more than games afaik. On linux it is mostly wine stuff iirc (not sure)
2
Jan 02 '22
Linux is primarily closed source in general in that regard, because FOSS packages can simply be recompiled and a package update committed to adapt to library changes.
Closed source apps can be trouble though (especially games, mainly because of GPU drivers frequently ALSO being closed source userland apps and the library environment needs to simultaneously cope with both)
1
u/dickweave137 Jan 06 '22
have to give up in order to preserve the res
your @##@ high man. OSX is 75 percent open source. The csharp used to make the games is open source. Every feature just added to windows seven-eleven is modeled after or developed as a open source project which has been around for a minimum of five years. Even the new windows UI is emacs and lisp. You even try reading instead of talking? You would be suprised with what you learn with your extra t8ime.
32
u/hunterfrombloodborne Jan 01 '22
metasploitable 2 and 3 are now the de facto standards for learning now a days.
58
u/Windows_XP2 Jan 01 '22
Technically it's even more vulnerable because it hasn't been update in over 10 years.
6
u/fakeMUFASA Jan 01 '22
Would that old of a kernel boot on modern processors? I think it would on x86, not so sure about arm
21
u/BrFrancis Jan 01 '22
So... Hate to tell you this.... But no matter what fancy pants hippie jazz new wave CPU processor you're running... If it's x86 architecture...
It spends at least the first several instructions running in 16bit real mode.
7
u/Synergiance Jan 01 '22
A modern processor is compatible with older binaries
1
u/gristc Jan 01 '22
Only if they're the same architecture. x86 & ARM are not compatible.
8
u/Synergiance Jan 01 '22
This would be applicable if they were using a Raspberry Pi or an M1 Mac or something. It’s reasonable to assume they’re using an x86_64 processor for the time being.
2
u/toric5 Jan 02 '22
As a,machine to learn on by hacking into, ARM would be a nice feature, run it on a cheap Pi 0
3
u/Windows_XP2 Jan 01 '22
It might, but if it doesn't, then it might not be too difficult to patch the kernel.
7
u/FurTrapper Jan 02 '22
It's not a distro, but you might still find DVWA (Damn Vulnerable Web Application) interesting. It's a PHP/MySQL-based web app, with the same goal as the distro you mentioned.
IIRC there are varying degrees of just how bad the app is configured, ranging from very basic stuff being open to the whole app being locked down properly-ish.
I'm not really into security, so I cannot comment on how up-to-date it is, but it was a fun thing to poke about back in college.
6
u/BarryTownCouncil Jan 01 '22
Not helpful but you reminded me of a project an old friend of mine did... Bloody Stupid Linux! https://clockwatching.net/~fin/bsl/
17
u/Phydoux Jan 01 '22
There is something newer. It's called Windows 11...
Actually, I was watching a couple of videos on something called Red Star OS. It's a North Korean "approved" Linux distro based on Fedora I think it was. Apparently their internet is an Intranet which is closed off from the outside world (no surprise there) and supposedly, there's a bunch of spyware installed on this Linux OS where they can look at the files on your computer and see where you got them from and who you've shared them with.
2
u/dickweave137 Jan 06 '22
you are sure you arn't mixing this up with just regular linux? or that we didn't make it for them. It soundsl like some things we would do
1
u/Phydoux Jan 06 '22
As I recall, I believe it's Debian based. After that, I doubt the US (or any other non-communist country) had their hands in the development of that OS.
-15
u/icsharper Jan 01 '22
Windows 11? Ugh. Of course there has to be at least one comment unjustified trashing Windows, of user who doesn’t know jack shit and recently started using Linux. People like you are the reason Linux is not mass adopted because this is off putting.
18
9
u/Phydoux Jan 01 '22
Unjustified? I've been using Windows since 3.0. I started tinkering with Linux when it was first available to the masses. I can tell you that Linux has made bigger leaps than Windows has. Recently, Windows has taken a couple of steps backwards. Windows 8 was a nightmare, Windows 10 was slow and unmanageable... I haven't tried 11 and I really don't have the need to do so. Linux distributions have grown in such a way that if introduced to the masses correctly, they could take over the market share.
Windows is a memory hog. It always has been. Even with 16GB of RAM Windows 10 was a dog. At 18GB of RAM in Linux... it's almost too much RAM for general computer users. Occasionally I get up to 8 maybe 9 GB of RAM usage while using a browse with Firefox with a few tabs open, GIMP and a couple other apps. But recently, I added another 16GB of RAM and I don't see a difference. Windows would eat it all up... I know because I had Windows 10 on this machine for about 15 minutes.
I'm done with the memory hogging Windows. Back in the 90s if I had a program that had no reason to use a ton of RAM, I got rid of it. Now, I've done the same with Windows and I couldn't be happier. I don't need Windows. In fact, I'm more productive with Linux than I ever was with Windows.
-7
u/icsharper Jan 01 '22
I haven't tried 11
You haven't even tried something, but decided to trash it. Yup, it's Reddit!
1
u/Phydoux Jan 01 '22 edited Jan 01 '22
Why should I spend $100+ on an operating system when I can get everything I need for free with Linux?
I get an OS, I get a free and open source office suite that rivals MS office, I get a browser that is really nice, I get a graphics package that blows away MS Paint (yes, even though GIMP is a closer match to Photoshop, GIMP (like MS Paint comes with Windows) comes with Linux), etc.
Out of the box, Linux is just more practical for the casual computer user. It will run beautifully on 4gb of ram, you'll only need about 120gb of hdd space... it's just a well rounded OS that's doing above and beyond what windows is doing.
The Linux developers are putting much more quality applications in Linux for free as opposed to Windows which you have to shell out $130-$160 for.
I've changed my comment because I had a better comment to replace what I'd posted originally.
1
u/icsharper Jan 01 '22
Even for developers, Windows is still mostly used OS, especially since the WSL2 is such amazing tool now supporting GUI apps as well. I love Linux, but you have no idea what you are talking about, I’m sorry. And Linux still has OOM issues in 2021.
2
u/Phydoux Jan 01 '22
I'm not saying Linux doesn't have issues. Currently I can't get it to record and play music at the same time but it's doable. I just need to figure out how to do it.
If I had this issue with Windows, it would take forever to rectify an issue because it just runs so darn slow.
Linux for everyday things like browser, email client, maybe working on a letter, resume, or spreadsheet, is a great little OS and for the price, it will never be beaten.
2
3
u/fletku_mato Jan 01 '22
I highly doubt that Windows is the most used os for developers, got any links to stats? I've mostly seen just mac or linux at work, windows has not been that common. Though using it makes perfect sense if you write software for windows.
What do you mean by OOM issues? I've used exclusively linux at home and work for more than 5 years without having such issues.
4
u/icsharper Jan 01 '22
See Stackoverflow survey.
3
u/fletku_mato Jan 01 '22
I see you're right and approx 40% of professional respondents use Windows. I guess it depends a bit on where and what you're working on.
0
Jan 01 '22
[deleted]
3
Jan 01 '22
My brother actually uses Windows 11 since Windows in general is familiar to him and he doesn't want to try Linux since it'll risk the warranty on the computer. Every time I have gotten onto it to help him with something, the entire GUI crashes and reloads at leat 1 or 2 times.
This thing is not slow either by any means, with an Intel core i5 and 8GBs of memory.
4
u/billyfudger69 Jan 01 '22
You could always boot off a live USB to test out different distros. :)
2
Jan 01 '22
He simply doesn't want to switch until the warranty is expired. I do have a 1TB portable Linux system I could repurpose for him to test.
4
Jan 01 '22
Why not just get a 10 year old version of a distro and use that? I mean a 10 year old linux is probably going to have 10s if not 100s of security holes? You can do the same with old versions of windows. I know slackware keeps isos available all the way back I think? I know they have really old kernels available. Drop it in a VM and go to town. https://soft.lafibre.info/
6
3
Jan 02 '22
have been last released in 2010, which puts a halt on the party train.
even more vulnerable 😉
3
u/bithakr Jan 02 '22
But it looks to have been last released in 2010, which puts a halt on the party train.
I mean, it definitely still meets the criteria of being vulnerable...
2
2
1
u/dickweave137 Jan 06 '22
We did, it has been under development for at least 4 years. MEI controller 0.3. 0.2 got arrested at a ralley. It is now called your operating system. It was deployed because you were late to the show. It was deployed because we are more concerned with who stole the election than if or how the election was stolen, and because most people don't care to pick what freedoms they have to give up in order to preserve the rest. With the full authority of those you allow to lead you. With the shame of a parent sending their kid to boarding school, who just can't look them in the eye. The evidence is all over your operating system. Most people have chosen to watch TV. To put this to a vote would compromise our securiry by the same things you wish to be protected of. We only voted last time because it was new, and we needed to figure out what to do in fifteen years. You will find the truth sitting at the bottom of your udev usb controll policy which tells your computer what to talk to, when, and why.
Inception isn't impossible - its just very difficult
You will find it in your windows event logs. But you won't see it for what it is because you have spent years telling yourself things you can't observe arn't real - despite all logical and ethical contradictions of this new sociopathic freedom you chose to pass on, to be a part of. You will never have the freedom to make such choices autonomously again, because we slept in on the wrong day. Fear will be fought with fear, not because we want to - because we have to, because of the enormity of it. Because no one group or government is large enough to combat your own stupidity. You FAIL as a sys admin. you FAIL as a private citizen and I will never post on this stupid forum again because I don't need others to point out to me how much we all have in common. I was there, I saw it, as were you - now stop denying it
When asked what we did with our freedom most people are going to point to forms of self affermation, to forums no better then a tabloit magazine pimping celebrity or the carnival you people call security conferences. I will say with pride that I used my freedoms to author dick picks, because no one who should care does
Enjoy the shitty system you built, don't look to hard for the vulnrabilties - mirrors are cheap these days.
1
u/SGBotsford Jan 01 '22
Run it in VM.
Now freeze the VM so it restores on boot.
This gives you a bunch of script writing opportunities.
Scripts to automate the exploitation.
Scripts to automate the prevention.
Scripts to automate the recovery.
0
Jan 01 '22
I think you should take a look at Manjaro
Yes, this is a joke, in case it wasn't obvious. Manjaro is very insecure though.
3
u/ikidd Jan 01 '22
And what makes Manjaro more insecure than literally any other distro out there that isn't running linux-hardened?
1
Jan 01 '22
The shitty update cycle, for example.
And the the fact that they accidentally DDoSed the AUR twice speaks volumes about their QA (or rather, the lack thereof)
5
u/ikidd Jan 01 '22
That sounds like more of a security issue with the AUR than with Manjaro.
Don't get me wrong, I think some of the janky shit they do in their update scripts is pretty silly, but as a running distro, it's hardly any more or less secure than others. I'd hazard that it's more secure than most non-rolling releases due to being closer to the upstream release cycle than any point release.
1
Jan 01 '22
Yes, but they hold back updates for 2 weeks, which pretty much defeats the point of rolling-release distros.
And yes, the AUR should've had rate limiting. But PAMAC had started spamming it with thousands of requests per second two separate occasions. I meant to say that to show how little they care about the security or correctness of their programs.
EndeavourOS or vanilla Arch are better and more secure options. I'm actually using Manjaro right now, but I'm planning on switching to vanilla not that far in the future.
2
u/ikidd Jan 01 '22
Well, yah, as I said, Manjaro has some issues with QC on their updates, and don't contribute upstream very much (if at all), especially to Arch proper as it almost seems like they consider it competition.
But Manjaro's package curation has saved me a lot of trouble with the friends and family that use it because it's avoided some fuckups that I've had to fix on my own Arch systems a few times.
I still feel it's a better balance between up-to-dateness and security than point-release distros, besides letting me use the tools I've grown used to on Arch over the last decade. I'd imagine you feel the same or you'd be on something other than Manjaro yourself.
I will caution you, Arch has a bit more risk of borking the system on updates, and I'm speaking from plenty of experience in both, so be ready for that if you change. I've switched to either ZFS-on-root or btrfs-on-root for most of my personal installs for this reason.
1
Jan 02 '22
I'd imagine you feel the same or you'd be on something other than Manjaro yourself.
To be honest, I was lazy at the time and didn't want to install Arch, so I tried Endeavour first, and the keyboard didn't work there. I could've probably fixed, but again I was lazy, so I went with Manjaro.
After all, yeah, it was mostly stable (except for sudo randomly breaking right after install, which lead to me having to boot from the install drive and fix it manually).
Then logging in to root broke randomly, apparently due to some sort of rate limiting that
a) wasn't mentioned anywhere in the errors, I had to google a lot of stuff until I found out the reason
b) didn't even work properly, since I was just watching YouTube for the past 20 minutes, so I definitely didn't use sudo or su.
In general, it's annoyances like this that make me want to find something else. Although I'm kind of looking in the direction of NixOS and many other distros too, like Artix.
2
u/ikidd Jan 02 '22
NixOS is a lot of work to understand. I'd get a few arch installs under your belt first so you have an idea of half of what a configuration.nix file is referring to. Nix is great if you're a developer and want to keep a reproducible build for dev purposes, or you're deploying half a hundred servers all the same.
Artix is a good place to start to understand Arch, by the time you get through the various tutorials, you'll pretty much have a vanilla Arch system, with a lot more understanding of how it's put together and how to fix it than you'd get from Endeavour or Manjaro.
1
Jan 02 '22
Oh, I installed arch in the past. I was just then forced to use Windows, and after that quarantine hit and I was too depressed (and thus lazy) to go through the install myself.
Nix, yeah I expect that to be a lot of work. But if it does what it promises to do, it might be worth it.
I want to use Artix because I often want to write my own service files and I just don't like systemd's approach that much.
Oh, and I also looked at Void, but I don't know much about that one. Slackware and KISSLinux also look interesting.
I would try Gentoo but trying to compile a browser on an office laptop seems like a bad idea.
2
u/ikidd Jan 02 '22 edited Jan 02 '22
Regarding Void, you might give a listen to the last episode of Linux User Space podcast. There's also an older episode on Garuda Linux, and a couple episodes from now they're going over NixOS.
Its not a highly technical podcast, but its OK for getting an overview of the reviewed distros. They may have gone through Artix too, I can't recall for sure.
I've used Linux since the 90s in one way or another, I think systemd was a huge step forward. Artix gives ypi the option of both IIRC
→ More replies (0)
86
u/LetterheadNo5683 Jan 01 '22
You can try Metasploitable by Rapid7.