OK, I just ran bat2exe live; I hope I'm not going to be sorry for this.
I don't know what's going on in bat2exe, but I don't think it's good. I tried to use RegFromApp and ProcessActivityView to attach to bat2exe; when I tried to run bat2exe from within RegFromApp, with "Start tracing immediately" on, bat2exe just showed a blank window. I used Process Monitor instead (which is what I should have done in the first place); bat2exe itself appears to be OK. It wrote a bunch of temp files, then finally converted the batch file to an exe. I made sure the "invisible application" setting was selected.
I then ran test.exe, the compiled batch file, with ProcMon tracking it again. For the most part, the exe seems to be doing fairly standard stuff; it's doing some monkeying with the Internet security zones, though. Here's part of the ProcMon log:
Quote:
[timestamp removed] test.exe 3752 RegOpenKey HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones SUCCESS Desired Access: Read
(about 2 dozen more reads to HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones and its subkeys)
Quote:
[timestamp removed] test.exe 3752 RegSetValue HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\ProxyBypass SUCCESS Type: REG_DWORD, Length: 4, Data: 1
[timestamp removed] test.exe 3752 RegSetValue HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\IntranetName SUCCESS Type: REG_DWORD, Length: 4, Data: 1
[timestamp removed] test.exe 3752 RegSetValue HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\UNCAsIntranet SUCCESS Type: REG_DWORD, Length: 4, Data: 1
[timestamp removed] test.exe 3752 RegSetValue HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\AutoDetect SUCCESS Type: REG_DWORD, Length: 4, Data: 1
Quote:
[timestamp removed] test.exe 3752 RegOpenKey HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Lockdown_Zones SUCCESS Desired Access: Read
(a couple of dozen reads to HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Lockdown_Zones and its subkeys)
It also did a bunch of reading from HKLM\Software\Microsoft\Cryptography and its subkeys; I'm somewhat inclined to dismiss that as normal behavior, though, as I've seen a lot of legit apps reading from there.
I didn't see any of my Google searches get redirected, and my AV (Microsoft Forefront Client Security) didn't pop up a warning, but I'm still not happy.
* Why wouldn't bat2exe work within Sandboxie? It could clearly create files, since it left a mess of temp files; did it detect the Sandboxie service and terminate? (That's entirely possible; there's a growing number of malware apps that detect virtualization products and shutdown if one is found)
* Why wouldn't bat2exe work when I tried to use RegFromApp on it? (In fairness, bat2exe worked if I ran it,
then attached RegFromApp & ProcessActivityViewer to it)
* Why is the executable reading from, and writing to, Internet Zone registry keys? (Once again, in fairness, I've seen other legit apps accessing these keys; I haven't been able to get much information about the keys, except that a lot of malware seems to write to them. If anybody knows exactly what they do, I'd appreciate the info)
I didn't see anything that clearly brands bat2exe as malware, but I still don't want to use it. Then again, most of my friends say I'm overly paranoid.
