Questions
Answer the following questions to test your knowledge of this chapter:
- The
persistence_exe
module works by adding a value in the _________. - What does the
msfvenom
flag-f psh
mean? - The PowerSploit Persistence module scripts must be run in this order: 1)
New-UserPersistenceOption
, 2)New-ElevatedPersistenceOption
, and 3)Add-Persistence
– true or false? - A hacker has uploaded and persisted netcat on a compromised Windows Server 2008 box. They then run this command to allow their connections into the backdoor –
netsh advfirewall firewall add rule name="WindowsUpdate" dir=out action=allow protocol=TCP localport=9009
. They can’t connect to their backdoor. Why? - Permanent WMI subscriptions run as _____.
- In Metasploit, a
.rc
file is a _________. HKEY_LOCAL_MACHINE
is shorted to ________ when usingreg setval
.