Skip to content

Commit 3b727fb

Browse files
Code review
1 parent 0a755ea commit 3b727fb

File tree

11 files changed

+15
-26
lines changed

11 files changed

+15
-26
lines changed

modules/auxiliary/admin/smb/change_password.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ def initialize(info = {})
2626
],
2727
'References' => [
2828
['URL', 'https://github.com/fortra/impacket/blob/master/examples/changepasswd.py'],
29+
[ 'ATT&CK', Mitre::Attack::Technique::T1021_002_SMB_WINDOWS_ADMIN_SHARES ]
2930
],
3031
'Notes' => {
3132
'Stability' => [CRASH_SAFE],

modules/auxiliary/admin/smb/delete_file.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ def initialize
3030
'mubix' # copied from hdm upload_file module
3131
],
3232
'License' => MSF_LICENSE,
33+
'References' => [
34+
[ 'ATT&CK', Mitre::Attack::Technique::T1021_002_SMB_WINDOWS_ADMIN_SHARES ]
35+
],
3336
'Notes' => {
3437
'Stability' => [OS_RESOURCE_LOSS],
3538
'SideEffects' => [],

modules/auxiliary/admin/smb/psexec_ntdsgrab.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ def initialize(info = {})
3535
'References' => [
3636
[ 'URL', 'http://sourceforge.net/projects/smbexec' ],
3737
[ 'URL', 'https://www.optiv.com/blog/owning-computers-without-shell-access' ],
38-
[ 'ATT&CK', Mitre::Attack::Technique::T1003_003_NTDS ]
38+
[ 'ATT&CK', Mitre::Attack::Technique::T1003_003_NTDS ],
39+
[ 'ATT&CK', Mitre::Attack::Technique::T1021_002_SMB_WINDOWS_ADMIN_SHARES ]
3940
],
4041
'Notes' => {
4142
'Stability' => [CRASH_SAFE],

modules/exploits/linux/misc/igel_command_injection.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ def initialize(info = {})
3636
[ 'CVE', '2025-34082' ],
3737
[ 'URL', 'https://kb.igel.com/securitysafety/en/isn-2021-01-igel-os-remote-command-execution-vulnerability-41449239.html' ],
3838
[ 'URL', 'https://www.igel.com/wp-content/uploads/2021/02/lxos_11.04.270.txt' ],
39+
[ 'ATT&CK', Mitre::Attack::Technique::T1021_REMOTE_SERVICES ], # Telnet service
3940
[ 'ATT&CK', Mitre::Attack::Technique::T1021_005_VNC ]
4041
],
4142
'Platform' => ['linux'],

modules/exploits/multi/http/tomcat_mgr_upload.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ def initialize(info = {})
6262
['BID', '36954'],
6363

6464
# tomcat docs
65-
['URL', 'http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html']
65+
['URL', 'http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html'],
66+
['ATT&CK', Mitre::Attack::Technique::T1021_REMOTE_SERVICES],
6667
],
6768
'Platform' => %w{java linux win}, # others?
6869
'Targets' => [

modules/post/osx/gather/vnc_password_osx.rb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,7 @@ def initialize(info = {})
2323
'Stability' => [CRASH_SAFE],
2424
'SideEffects' => [],
2525
'Reliability' => []
26-
},
27-
'References' => [
28-
[ 'ATT&CK', Mitre::Attack::Technique::T1021_005_VNC ]
29-
]
26+
}
3027
)
3128
)
3229
end

modules/post/windows/gather/credentials/mremote.rb

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,7 @@ def initialize(info = {})
3333
'Stability' => [CRASH_SAFE],
3434
'SideEffects' => [],
3535
'Reliability' => []
36-
},
37-
'References' => [
38-
[ 'ATT&CK', Mitre::Attack::Technique::T1021_001_REMOTE_DESKTOP_PROTOCOL ],
39-
[ 'ATT&CK', Mitre::Attack::Technique::T1021_005_VNC ],
40-
[ 'ATT&CK', Mitre::Attack::Technique::T1021_004_SSH ]
41-
]
36+
}
4237
)
4338
)
4439
end

modules/post/windows/gather/credentials/rdc_manager_creds.rb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,7 @@ def initialize(info = {})
5151
stdapi_sys_process_memory_write
5252
]
5353
}
54-
},
55-
'References' => [
56-
[ 'ATT&CK', Mitre::Attack::Technique::T1021_REMOTE_SERVICES ]
57-
]
54+
}
5855
)
5956
)
6057
end

modules/post/windows/manage/enable_rdp.rb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,7 @@ def initialize(info = {})
2828
'Stability' => [CRASH_SAFE],
2929
'SideEffects' => [CONFIG_CHANGES],
3030
'Reliability' => []
31-
},
32-
'References' => [
33-
[ 'ATT&CK', Mitre::Attack::Technique::T1021_001_REMOTE_DESKTOP_PROTOCOL ]
34-
]
31+
}
3532
)
3633
)
3734

modules/post/windows/manage/install_ssh.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ def initialize(info = {})
2424
'SessionTypes' => [ 'meterpreter', 'shell' ],
2525
'References' => [
2626
['URL', 'https://docs.microsoft.com/en-us/windows-server/administration/openssh/openssh_overview'],
27-
['URL', 'https://github.com/PowerShell/openssh-portable'],
28-
['ATT&CK', Mitre::Attack::Technique::T1021_004_SSH]
27+
['URL', 'https://github.com/PowerShell/openssh-portable']
2928
],
3029
'Notes' => {
3130
'Stability' => [CRASH_SAFE],

0 commit comments

Comments
 (0)