I wrote a simple python script in which I have used the Python Global-Hotkeys Module to make a simple script which does nothing but wait for some key-combination to be pressed and once the key combination is pressed, the script turns off the external monitors I have attached to my PC. It was working great and I am very happy with the way everything has panned out. Now, I wanted this script to start as soon as Windows starts, so I used Pyinstaller to convery my .py file to .exe and added a shortcut of the .exe file in my startup. I added the same shortcut in my laptop as well. I have Kaspersky Total Security in PC and Windows Defender in laptop. In PC, when I scan the same converted .exe with Kaspersky anti virus, it says 'no threats' whereas in my laptop the same file is being classified as a 'Trojan'. Why is this, what am I missing here ?
Windows Defender is Classifying My Python Script As a Trojan, Why is that?
798 Views Asked by Aaron Jones At
1
There are 1 best solutions below
Related Questions in PYTHON
- new thread blocks main thread
- Extracting viewCount & SubscriberCount from YouTube API V3 for a given channel, where channelID does not equal userID
- Display images on Django Template Site
- Difference between list() and dict() with generators
- How can I serialize a numpy array while preserving matrix dimensions?
- Protractor did not run properly when using browser.wait, msg: "Wait timed out after XXXms"
- Why is my program adding int as string (4+7 = 47)?
- store numpy array in mysql
- how to omit the less frequent words from a dictionary in python?
- Update a text file with ( new words+ \n ) after the words is appended into a list
- python how to write list of lists to file
- Removing URL features from tokens in NLTK
- Optimizing for Social Leaderboards
- Python : Get size of string in bytes
- What is the code of the sorted function?
Related Questions in PYINSTALLER
- Stop building when a missing module is encountered
- Produce both versions x32 and x64 under PyInstaller
- Running a Pyinstaller Django application using nginx
- couchbase is installed but still getting import error (Pyinstaller)
- Pyaudio recognizer error cannot find path
- How to create .exe from python script with modules and dependent files
- PyInstaller output artifacts in different folders
- How to run pyinstaller correctly on cygwin?
- Pyinstaller bundling all non-executables into one seperate folder
- pyinstaller: _libcouchbase module not found after building the executable
- Errno 22:invalid mode('rb') or filename:' ' while running a spec file while using pyinstaller
- Pyinstaller .exe compilation error
- AttributeError: After converting python script to EXE by Pyinstaller
- Packaging Kivy Python applications on OSX Yosemite not working
- Command prompt closing too quickly
Related Questions in STARTUP
- get all startup processes in windows
- RPi running script at boot then stops
- Java move application to startup folder
- Detect Matlab startup from toolbox
- How to start with liferay
- bento start command fails with NoClassDefFoundError DNSCheckingTool
- Entity Framework Code First 30+ seconds StartUp Time
- How to load database at App Start up?
- Android CalendarView with no default date needed
- Insert data in collection at Meteor's startup
- BBB [debian] How to execute LSBInitscript AFTER loading device tree overlay?
- Error On MongoDB Start Up
- chkconfig not adding redis init script
- Change Stack Location for Cortex M3 in Startup.s file
- Running code without ssh in beaglebone black
Related Questions in WINDOWS-DEFENDER
- Windows Defender detects Trojan:HTML/Phish.PH!MTB in a simple HTML file
- I'm Getting this Trojan Detection Error When Installing Laravel
- Powershell script Set-MpPreference not working correctly
- Parsing KQL Json and using it to join another table
- Deactivate Windows Defender programmaticaly
- Run powershell script or whitelist installation directory before installing in inno setup
- Online API for querying Microsoft Defender's latest antivirus pattern version?
- Copy to clipboard slow in VS 2022 with Windows Defender
- Windows defender Win32/Persistence.DQ!ml, what is it?
- Windows Defender and handling downloaded PowerShell scripts
- Find a domain within URL with Kusto (Defender ATP Advanced Hunting)
- Is there a way to hash file without triggering antivirus (specifically Windows Defender)?
- Wuapilib how to detect Definition Updates
- Windows Defender flag some JSON output file from Trivy as Backdoor:PHP/Remoteshell.V
- Combine PowerShell Defender outlets into a combined CSV file for monitoring
Related Questions in GLOBAL-HOTKEY
- Sendkeys Global Hotkey only working once?
- C# global keyboard hook, that opens a form from a console application
- How to differenciate between registered hotkeys using user32.dll
- Global hotkey - Copy own Text into Clipboard C#
- -shortcutRecorder:keyComboDidChange: isn’t executed
- Run through events and test if they work in C#
- Python Keyboard Module add_hotkey is not working after you lock windows Once. Help Needed
- How to change back and forth application focus with global hotkey in C#
- Windows Defender is Classifying My Python Script As a Trojan, Why is that?
- Global Hotkey does not work in Fullscreen game
- C++ Global Hotkeys with platform APIs
- How to make customised hot keys in wpf application and perform various operations
- Global hotkey in Tkinter
- How to define hot keys using if-else?
- Redirect global hotkey C#
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
the problem is that your program is listening for keystrokes and that's totally fine as you have coded it yourself and the windows defender may think the program as a keylogger or something