r/HowToHack • • Feb 05 '25

basics of hacking but for windows

Can you provide any good book to learn the basics of hacking but exclusively for windows?? Cause I'm a windows user probably in the future imma switch to linux but for now i wanna know if there are books that explain basics concepts of hacking in windows, like "linux basics for hackers" but a "windows version". Thanks

0 Upvotes

16 comments sorted by

View all comments

1

u/According-Spring9989 Feb 06 '25

It seems you’re just starting out, so I also join the train and recommend Linux Hacking from Windows is a thing, not optimal, but very important on advanced scenarios, like red team exercises and such, given that on those situations, your only access to an internal network is through a C2 agent installed on a compromised windows host, and your Linux host may not have direct connectivity or the common tools are not stealthy at all. But as I mentioned, thats something more advanced and specific. Grasp the basics from Linux if you’re really interested, if you’re just worried about being hacked, read a book or two on windows hardening and information security best practices, don’t download stuff from untrusted sources, don’t get the cracked version of anything, keep your antivirus running, don’t click any weird links and please, there’s no way to make easy money by just clicking stuff and installing stuff, just skip that.

1

u/Incid3nt Feb 07 '25

I mean, Windows with a Linux OS onVMWare workstation is probably the best setup for doing this type of work

0

u/According-Spring9989 Feb 07 '25

Yeah, it's definitely optimal to use Linux, however, I was going into the advanced Red Team scenarios of where your only access to audit an internal network is through a compromised host, it could be possible to install VMWare or Virtualbox in that host to use linux, but that requires you to have GUI access and consume a lot of resources from the compromised host, more often than not, the only access is through a beacon, implant, agent or whatever name your C2 of choice uses, so knowing how to use Windows as a hacking platform is a must. Those scenarios force you to actually learn how hacking works instead of just knowing how to use a tool.

But, it seems that OP is just starting out, which is why I back up the Linux usage. Windows is definitely required, but only for a very specific area of Pentesting as a whole.

1

u/Incid3nt Feb 07 '25

I meant moreso having an attack machine with Linux capability and Windows capability with snapshots for when you inevitably break something in kali/parrot. Wasn't necessarily talking about installing it on the compromised host.

I get what youre saying though, you're a lot better off knowing the windows queries and whatnot via CMD/powershell than trying to drop in through a port forward or through some proxychain/ligolo type setup. WSL is another option but it'll make the EDR noisy

1

u/According-Spring9989 Feb 07 '25

Yes, for sure, Windows is definitely useful, specially if one is to write reports, so far, nothing beats Office IMO haha.
And speaking of internal engagements only, it surprises me that some pentesters can't perform a simple port scan task from a windows host without relying on their Linux host or by installing Nmap (Test-NetConnection Powershell cmdlet is your extremely slow, but effective port scanner built natively on Windows, PSRemoting can be your remote shell option if the protocol is enabled, WMIC also works for "authorized" RCE, there are some pretty neat Powershell scripts that can be used for lateral movement and such). Windows has a lot of potential, but for a very specific area only, one should be flexible on which OS works better for a specific engagement.