Skip to content

Commit

Permalink
Merge pull request #19536 from GhostlyBox/patch-1
Browse files Browse the repository at this point in the history
Update enum_unattend.rb
  • Loading branch information
adfoster-r7 authored Oct 24, 2024
2 parents eddfda0 + 88825a0 commit 9ac3f57
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions modules/post/windows/gather/enum_unattend.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,22 @@ def initialize(info = {})
'Description' => %q{
This module will check the file system for a copy of unattend.xml and/or
autounattend.xml found in Windows Vista, or newer Windows systems. And then
extract sensitive information such as usernames and decoded passwords.
extract sensitive information such as usernames and decoded passwords. Also
checks for '.vmimport' files that could have been created by the AWS EC2 VMIE service.
},
'License' => MSF_LICENSE,
'Author' => [
'Sean Verity <veritysr1980[at]gmail.com>',
'sinn3r',
'Ben Campbell'
'Ben Campbell',
'GhostlyBox'
],
'References' => [
['URL', 'http://technet.microsoft.com/en-us/library/ff715801'],
['URL', 'http://technet.microsoft.com/en-us/library/cc749415(v=ws.10).aspx'],
['URL', 'http://technet.microsoft.com/en-us/library/c026170e-40ef-4191-98dd-0b9835bfa580']
['URL', 'http://technet.microsoft.com/en-us/library/c026170e-40ef-4191-98dd-0b9835bfa580'],
['URL', 'https://aws.amazon.com/security/security-bulletins/AWS-2024-006/'],
['URL', 'https://www.immersivelabs.com/blog/the-return-of-unattend-xml-revenge-of-the-cleartext-credentials/']
],
'Platform' => [ 'win' ],
'SessionTypes' => [ 'meterpreter', 'shell' ]
Expand Down Expand Up @@ -106,7 +110,9 @@ def init_paths
files =
[
'unattend.xml',
'autounattend.xml'
'autounattend.xml',
'unattend.xml.vmimport',
'autounattend.xml.vmimport'
]

target_paths =
Expand Down

0 comments on commit 9ac3f57

Please sign in to comment.