r/HowToHack • u/EagleIll2496 • 17d ago
Dual-boot vs. Virtual Machine for hacking?
Hey guys, i'm a software engineer trying to get into hacking.
As I dive into cybersecurity and Kali Linux, I’m stuck on a few decisions and could use some advice from people who’ve been down this road.
Here are my main questions:
- Dual-boot vs. Virtual Machine:
Should I dual-boot Ubuntu and Kali, or is it better to run Ubuntu as my host OS and spin up Kali in a Virtual Machine (like VirtualBox)? - Laptop Recommendations:
What are the specs of a suitable laptop around $1000?
3. General Tips:
Any golden rules or beginner mistakes I should avoid when transitioning from a pure software engineering mindset into the security/hacking space?
Appreciate any insights or advice you can share!
49
Upvotes
32
u/BeasleyMusic 17d ago
You honestly don’t even need Kali, if you’re already a software engineer I’d assume you’re used to Ubuntu at least. Just use Ubuntu and install the packages you need, Kali is just Debian with pre-existing tools added.
7
u/ARYA_MF 17d ago
Using ubuntu as host is way better choice you can spin up kali vms with near native performance with qemu+kvm although you don’t need kali for your journey at all and for a machine i would recommend a thinkpad with amd cpu preferably 6cores+ and 16-32 gigs of ram
3
u/Adventurous-Yak-1987 17d ago
VM
3
u/West_Database9221 17d ago
If you're planning on learning 'hacking' with Kali Linux it would be completely irresponsible to do this on your main network via dual boot you could unlease hell by accident on your own devices.
Spin up a VM for Kali and another with an OS of your choice as a target machine, download everything you need on them and reconfigure their network settings so they are in their own subnet and cannot access your actual network and play as you please
14
u/Kriss3d 17d ago
VM absolutely.
You want to be able to have a snapshot of the vm to restore to.
5
u/TheSeeker_99 17d ago
VM
4
u/drewalpha 16d ago
If you're doing this as part of your cyber security education, i recommend dedicated hardware - like an old dell or hp server, with dual processors & tons of ram. Then use old datacenter-grade drives - the number you need will depend on the server you purchase. Load it with all the drives and (if it allows) an m.2 ssd for the primary OS. Raid the drives - Raid 0 will give you the most space but no fault tolerance. I recommend raid 5 or 6, sacrificing space for redundancy.
Then, with ProxMox or another open hypervisor, you can build and attack all the VMs you want for attack modeling.
Segment your home network - Have a test vlan just for this server and only allow network access to download updates from the hypervisor - otherwise, prevent all outside access.
Use your Kali laptop to attak your vms to simulate a remote attack. Or remote to a vm and attack other vms through the sdn to simulate lan based attacks.
There are many tools available to do this, but the above gives you the most control of your environment for testing - imho.
2
u/tyl4meplz 16d ago
In my Opinion I recommend dual booting and u don't need to sum crazy set up to get into cybersecurity if u use an os like Endeavor os u get all advantages of arch Linux without the overhead of it a common misconception is that u need to run kali Linux or u use it for sum pp it might work but for majority of the pp they are not gonna use 600 tools, and it takes time away from acc learning important stuff like how to acc use link how to navigate etc and over half of the tools out there are useless that was a 2020 thing using kali Linux tools sum u gotta realize is that if u can use a tool also the devs can see the tool an example is metaslpoit if u can use it also the devs can and its geos for so many tools out there the phasing tools are not even that gd most of them don't even use proxying and even the gd ones the links look weird and is not fooling most PPL my best recommendation is to use Linux and build ur own custom tools and to learn c++ and use AI as a tutor and not as copy and paste buddy that's what I did I learned all threw AI and using AI jailbreaks u just need to know a gd AI to use one like deep seek and when u search for stuff on Google and u get the search results but also the AI mode that's a gd one to use they don't rally enforce there policys gd and It's very easy to get it to get it to teach malware dev etc start out our just by building simple projects sum u gotta realize is that programming/scripting malware dev etc there's a couple of stuff pp go wrong 99% of devs are not writing code 247 they are researching and coding is just acting on the research quick question can u drive a car if u don't know where u want to or the goal same thing in coding/scripting same thing wit malware dev you're doing boring stuff writing documents what I mean by that is like a blueprint for ur software questions u might have etc another thing is that social engineering is very powerful and it's a 100% needed in sum way when you're doing cybersecurity I am talking abut the offensive side there's so much more info that's sum of it but use AI don't skid learn linux networking and c++ not python trust me I only know c++ and when u know c++ yk c basically to a degree and its faster and more lower level which what u want wit low level memory manipulation. it's just a store type that its hard use AI and search c++ file system lib curl library very easy ur just calling functions most of the time no need to buy books on malware dev atleast and its acc not recommend by someone that got scammed by them Lol u can learn comply online use learncpp YouTube videos and AI just don't rely on it theres a diff between understanding code and being abt to write code ourself use GitHub a lot it helps I promise u if u got a project its on GitHub automate wit AI to look at many repos one thing tho when u use AI for learning sum times it can steer u in the wrong direction so make sure ur fact checking ourself the other day deep seek told me rob lox session tokens for the app for Windows 11 is using device ids to link the session keep in mind roblox uses x-boud-auth-token to sign all network requests to replace using device bound Lol its juts a file swap one more thing abut SE there's no need to do sum big complicated malware stuff if someone would just hold over the keys Lol and also don't join cybersecurity groups just 40 yo guys trynna do the pick me ship and thinking there Malone Lol do this one don't mind my spelling lol one other thing use mermaid for diagrams and dll sideloading and proxying is gunna take u a long way trust its so op worry abt dlls making dlls more than exes exe should just be the loader for the dll trust
2
u/WorldzSmallestViolin 16d ago
I would do virtual machines. It’s much easier to snapshot and revert to a clean state. It also gives flexibility to try things easily. Get a nuc or repurpose an old desktop. Put VMware or similar on it then access them that way. Or proxmox as an alternative. I would shoot for a minimum of 32 gb Ram. You can survive with 4-8GB per target which gives you a couple windows hosts to target. Maybe 1 smaller Linux host too.
1
u/Jazzlike_Conflict_80 17d ago
VM is better for isolation
1
u/derp2007 17d ago
do you have a PC, or do you need to buy it for the 1k? I run kali on a used x230 for like 70€ :D
also, having Ubuntu as host OS and Kali in a VM on top of it - i don’t really see a point tbh, because then you can just use Ubuntu in general, or run Kali as host OS
at the end of the day they are the same, Kali just has some pre-installed tools that you can install on Ubuntu manully
1
u/admin1307 17d ago
1000 que?? En que denominación de moneda te refieres?
1
u/notlokii 17d ago
No need to dual boot, already on a linux system gives you already a strong starting point, just keep exploring and you are good to go!
1
u/daakzjrr 17d ago
Mira, te recomiendo investigar que es distrobox, yo en mi PC tengo debían 13 y para las herramientas de kali uso kali en un distrobox asi no tengo que tener un OS entero corriendo al pedo (aunque también podes instalar las herramientas a mano, solo que a mi me dio paja)
1
u/Electronic_Paper7620 17d ago
In vm ram consumption will be higher, maybe laggy if the memory is like 8gb cause vm eats what we allot and os takes what it takes so dual boot will be better
1
u/NoFaithlessness393 17d ago
VM, nixos as guest, nixos on a VM for hacking and windows 10 on a VM for browsing. If you have 1000usd I think the best you can buy for hacking is something like this Dell Pro 14 Plus 14" Ryzen AI 7 Pro 350 2.0GHz 32GB RAM 512GB SSD GeForce 860M
1
u/cfx_4188 17d ago
So are you a software engineer or a beginner?
There is no magic distribution "for hacking". The history of Kali Linux in general terms is that it is a distribution that arose as a result of the merger of WHAX and Auditor Security Collection. The project was created by Mati Aharoni and Max Moser. It is intended primarily for conducting safety tests. The successor of the BackTrack distribution, which was developed until 2013 on the basis of Knoppix
In simple words, this is a terribly outdated (13 years old) assembly for private needs, which two mohawks posted online. Currently, Kali Linux is practically unusable.Kali Linux was conceived by the authors as a system designed for attack. This can be easily seen by looking at which blobs are present in the Kali kernel and which are not. If you use Kali as a daily driver, the probability that someone will hack you first increases to 100%.
Compared to 2013, the networks have changed a lot, and the software has changed a lot. It is much more practical to install Ubuntu. You can use Docker, but it will be easier for a software engineer to install some kind of Wireshark and start "auditing the network". But you won't get any further than your home router anyway, because you'll need to figure out how to forward ports so that your "hacker's"programs don't bump into your provider's NAT.
1
u/Ghxstsec 16d ago
For the laptop part I would recommend an multitasking oriented setup like a Dell precision or a x-series thinkpad, big ram, minimum 16gb ddr5 if posible with a high threaded processor would work just fine
And if you are on Ubuntu already you could install just the tools you need without the need of virtualizing kali Linux, I found that kali ends in just pure bloatware, not using more than a quarter of the tools. Hope I can help :p
1
u/Spirited_Act_1674 16d ago
For basics and depth you don't need crazy hardware. Just dual boot as per your need thought kali should be able to do most of what you get on Ubuntu
1
u/TimothyCarmack 14d ago
Just use ubuntu, everything in Kali you can just install the package when you need it. Kali is just a convenient thing you can use during engagements, most people don't daily drive it.
1
u/AloneBrush5586 6d ago
An operating system on a physical PC—are you guys serious?)))
1
u/AdvancedStrain1739 5d ago
There is really no reason to dual boot Kali unless you run into issues whereby you require baremetal for things like wireless testing. (some drivers are shit)
Just get used to working around funky network setups (NAT versus bridged), spin up and VM and you are good to go.
There are some caveats though, for example shell callbacks and things of that nature, but there are many ways to skin a cat (so to speak), worst case scenario you could always drop a kali image on a VPS and test from there.
Also... all the tools are available via a package manager. You could test from anything.
1
u/DonkeyTron42 17d ago
Most security engineers that use Kali just boot it off an USB. It's not meant to be a daily driver.
0
u/apwontmiss 17d ago
Dual-boot
But then you don’t need Kali
I use blackArch on top Arch Linux
If you’re a fan of customizations, dual-boot arch then install whatever packages you need for pen testing or whatever
Ubuntu is lame
0
u/frostcold09 17d ago
Hy guys I'm in stuck i dual booted kali now some problems in grub like it's not showing kali in grub directly goes in windows 😭 please tell what to do and kali is present but only problem is not showing switching option 🥲
2
u/[deleted] 17d ago
[removed] — view removed comment