FnKey.exe calling Powershell - malicious or not

rtf_

New Member
Joined
May 3, 2024
Messages
9
Reaction score
0
Hello,

I have been trying to secure Powershell on my machine yet when I look at the logs I see FnKey.exe is running Powershell code. At one point it ran the same piece of code 20 times in 1 minute.

I am looking to block FnKey.exe and powershell completely. I am aware of the argument against blocking powershell, I re-enable it whenever I need it so please don't try and sway my view on this.

So far I've done the following to secure powershell:
1. Disabled PS remoting (just as a precaution)
2. Disabled Powershell as follows: User Configuration -> Administrative Templates -> System -> Don't run specified Windows Applications, added powershell.exe, powershell_ise.exe and pwsh.exe
3. Enabled logging and disabled scripts (in Computer Configuration -> Administrative Templates -> Windows Components -> Windows Powershell

SettingState
Turn on Module LoggingEnabled
Turn on PowerShell Script Block LoggingEnabled
Turn on Script ExecutionDisabled
Turn on PowerShell TranscriptionEnabled
Set the default source path for Update-HelpNot configured

Then to block FnKey.exe, I've added it's full path as Deny for everyone at (Computer Configuration -> Windows Settings -> Security Settings -> Application Control Policies -> AppLocker -> Executable Rules)

When I try and run FnKey.exe myself I am told I can't so that looks good yet somehow it is still being run and it is still running powershell commands (using my Windows username)

Lastly, the following piece of code was used to launch FnKey.exe - it also feels a bit suspicious:

Code:
explorer.exe shell:appsFolder\CLEVOCO.FnhotkeysandOSD_(CENSORED)

Here is a sample transcript, the same command is called every time:

Code:
**********************
Windows PowerShell transcript start
Start time: (CENSORED)
Username: [MY WINDOWS USERNAME]
RunAs User: [MY WINDOWS USERNAME]
Configuration Name: (CENSORED)
Machine: (CENSORED) (Microsoft Windows NT 10(CENSORED))
Host Application: C:\Program Files\WindowsApps\CLEVOCO.FnhotkeysandOSD_(CENSORED)\FnKey\FnKey.exe
Process ID: (CENSORED)
PSVersion: (CENSORED)
PSEdition: (CENSORED)
PSCompatibleVersions: (CENSORED)
BuildVersion: (CENSORED)
CLRVersion: (CENSORED)
WSManStackVersion:(CENSORED)
PSRemotingProtocolVersion: (CENSORED)
SerializationVersion: (CENSORED)
**********************
**********************
Command start time: (CENSORED)
**********************
PS>Get-PnpDevice -Class 'USB' | select FriendlyName, Status, InstanceId

FriendlyName                                                    Status  Instanc
                                                                        eId
------------                                                    ------  -------
(CENSORED)
(CENSORED)
(CENSORED)
...
 
Last edited:
format and reload,
on my home PC I cant open calculator and windows store,
windows does some weird stuff sometimes and the solution is a reload.
 
As far as I can tell, this exe is used to provide extra functionality to the Function keys on your keyboard, such as managing brightness, volume, etc. Is this a laptop by the way? Made by Clevo?
 
format and reload,
on my home PC I cant open calculator and windows store,
windows does some weird stuff sometimes and the solution is a reload.
I just did a full format and install (including going into CMD and using diskpart to do a full format before reinstalling) 2 days ago!
 
As far as I can tell, this exe is used to provide extra functionality to the Function keys on your keyboard, such as managing brightness, volume, etc. Is this a laptop by the way? Made by Clevo?
Yes that's right, it's a laptop and it does have some Clevo parts in it
 

Im sure its safe, if you can uninstall it does the FNkeys work?

Also, does the app (if it has a GUI) have any settings in it, maybe its trying to do a macro.
 

Im sure its safe, if you can uninstall it does the FNkeys work?

Also, does the app (if it has a GUI) have any settings in it, maybe its trying to do a macro.
Ok thanks, it isn't on the list of installed applications so I can't uninstall it; I've tried changing the security options of the file so that I am the owner and even then I can't delete or rename it :/

Let me run a CMD as SYSTEM and see if I can rename it...
 
Ok that didn't work either :/ (or I didn't know what I was doing, I got a SYSTEM CMD, went to that folder and tried to rename the file and got an access denied)

If anyone is interested, I used the following steps to open a CMD as SYSTEM:
- Enable Server service
- Enable Windows Remote Management service
- Ensure SMB2/3 protocol is enabled (https://learn.microsoft.com/en-us/w...ct-enable-and-disable-smbv1-v2-v3?tabs=server)
- In an elevated CMD in the DIR containing PsExec (from SysInternalSuite), type: psexec -i -s cm/d.exe (don't include the /)
- A new CMD opens as SYSTEM, type whoami to confirm

After all of this I must say that it looks like FnKey.exe is not harmful, assuming it was how could I block Windows from every running it? I thought AppLocker would handle that, it doesn't allow me to run it but then another process can? I get the sense I'm missing something here
 
Last edited:
How did it install on the PC in the first place? Windows update or did you download it from the manufacturer website?

Couldn't have just appeared from nowhere.
 
How did it install on the PC in the first place? Windows update or did you download it from the manufacturer website?

Couldn't have just appeared from nowhere.
I definitely didn't download it, I haven't manually updated any drivers or software related to the laptop since the last clean installation of Windows. That was done on 2 days ago, the installation finished around 17:00 and FnKey.exe was created at 17:22 so I can only assume it installed as part of the Windows updates. I think only Windows can install to C:\Program Files\WindowsApps\ (although I stand to be corrected) so that must be it
 
Top
Sign up to the MyBroadband newsletter
X