Auxilliary Parser Windows Unattend Passwords - Metasploit
This page contains detailed information about how to use the auxiliary/parser/unattend metasploit module. For list of all metasploit modules, visit the Metasploit Module Library.
Module Overview
Name: Auxilliary Parser Windows Unattend Passwords
Module: auxiliary/parser/unattend
Source code: modules/auxiliary/parser/unattend.rb
Disclosure date: -
Last modification time: 2021-01-28 10:35:25 +0000
Supported architecture(s): -
Supported platform(s): -
Target service / protocol: -
Target network port(s): -
List of CVEs: -
This module parses Unattend files in the target directory. See also: post/windows/gather/enum_unattend
Module Ranking and Traits
Module Ranking:
- normal: The exploit is otherwise reliable, but depends on a specific version and can't (or doesn't) reliably autodetect. More information about ranking can be found here.
Basic Usage
msf > use auxiliary/parser/unattend
msf auxiliary(unattend) > show targets
... a list of targets ...
msf auxiliary(unattend) > set TARGET target-id
msf auxiliary(unattend) > show options
... show and set options ...
msf auxiliary(unattend) > exploit
Required Options
- PATH: Directory or file to parse.
Go back to menu.
Msfconsole Usage
Here is how the parser/unattend auxiliary module looks in the msfconsole:
msf6 > use auxiliary/parser/unattend
msf6 auxiliary(parser/unattend) > show info
Name: Auxilliary Parser Windows Unattend Passwords
Module: auxiliary/parser/unattend
License: Metasploit Framework License (BSD)
Rank: Normal
Provided by:
Ben Campbell <[email protected]>
Check supported:
No
Basic options:
Name Current Setting Required Description
---- --------------- -------- -----------
PATH yes Directory or file to parse.
RECURSIVE false yes Recursively check for files
Description:
This module parses Unattend files in the target directory. See also:
post/windows/gather/enum_unattend
References:
http://technet.microsoft.com/en-us/library/ff715801
http://technet.microsoft.com/en-us/library/cc749415(v=ws.10).aspx
http://technet.microsoft.com/en-us/library/c026170e-40ef-4191-98dd-0b9835bfa580
Module Options
This is a complete list of options available in the parser/unattend auxiliary module:
msf6 auxiliary(parser/unattend) > show options
Module options (auxiliary/parser/unattend):
Name Current Setting Required Description
---- --------------- -------- -----------
PATH yes Directory or file to parse.
RECURSIVE false yes Recursively check for files
Advanced Options
Here is a complete list of advanced options supported by the parser/unattend auxiliary module:
msf6 auxiliary(parser/unattend) > show advanced
Module advanced options (auxiliary/parser/unattend):
Name Current Setting Required Description
---- --------------- -------- -----------
VERBOSE false no Enable detailed status messages
WORKSPACE no Specify the workspace for this module
Auxiliary Actions
This is a list of all auxiliary actions that the parser/unattend module can do:
msf6 auxiliary(parser/unattend) > show actions
Auxiliary actions:
Name Description
---- -----------
Evasion Options
Here is the full list of possible evasion options supported by the parser/unattend auxiliary module in order to evade defenses (e.g. Antivirus, EDR, Firewall, NIDS etc.):
msf6 auxiliary(parser/unattend) > show evasion
Module evasion options:
Name Current Setting Required Description
---- --------------- -------- -----------
Go back to menu.
Error Messages
This module may fail with the following error messages:
Check for the possible causes from the code snippets below found in the module source code. This can often times help in identifying the root cause of the problem.
<ITEM> invalid xml format.
Here is a relevant code snippet related to the "<ITEM> invalid xml format." error message:
50: print_status "Processing #{item}"
51: file = File.read(item)
52: begin
53: xml = REXML::Document.new(file)
54: rescue REXML::ParseException => e
55: print_error("#{item} invalid xml format.")
56: vprint_line(e.message)
57: next
58: end
59:
60: results = Rex::Parser::Unattend.parse(xml)
Go back to menu.
Related Pull Requests
- #14696 Merged Pull Request: Zeitwerk rex folder
- #12263 Merged Pull Request: Fix #12262
- #8338 Merged Pull Request: Fix msf/core and self.class msftidy warnings
- #6655 Merged Pull Request: use MetasploitModule as a class name
- #6648 Merged Pull Request: Change metasploit class names
- #3216 Merged Pull Request: Update @Meatballs1 and @FireFart in authors.rb
- #2525 Merged Pull Request: Change module boilerplate
References
- CVE: Not available
- http://technet.microsoft.com/en-us/library/ff715801
- http://technet.microsoft.com/en-us/library/cc749415(v=ws.10).aspx
- http://technet.microsoft.com/en-us/library/c026170e-40ef-4191-98dd-0b9835bfa580
See Also
Check also the following modules related to this module:
Authors
- Ben Campbell
Version
This page has been produced using Metasploit Framework version 6.1.24-dev. For more modules, visit the Metasploit Module Library.
Go back to menu.