Jump to content

Search the Community

Showing results for tags 'launcher'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Announcements
    • Malwarebytes News
    • Beta Testing Program
  • Malware Removal Help
    • Windows Malware Removal Help & Support
    • Mac Malware Removal Help & Support
    • Mobile Malware Removal Help & Support
    • Malware Removal Self-Help Guides
  • Malwarebytes for Home Support
    • Malwarebytes for Windows Support Forum
    • Malwarebytes for Mac Support Forum
    • Malwarebytes for Android Support Forum
    • Malwarebytes for iOS Support
    • Malwarebytes Privacy
    • Malwarebytes Browser Guard
    • False Positives
    • Comments and Suggestions
  • Malwarebytes for Business Support
    • Malwarebytes Endpoint Protection
    • Malwarebytes Incident Response (includes Breach Remediation)
    • Malwarebytes Endpoint Security
    • Malwarebytes Business Products Comments and Suggestions
  • Malwarebytes Tools and Other Products
    • Malwarebytes AdwCleaner
    • Malwarebytes Junkware Removal Tool Support
    • Malwarebytes Anti-Rootkit BETA Support
    • Malwarebytes Techbench USB (Legacy)
    • Malwarebytes Secure Backup discontinued
    • Other Tools
    • Malwarebytes Tools Comments and Suggestions
  • General Computer Help and Security Updates
    • BSOD, Crashes, Kernel Debugging
    • General Windows PC Help
  • Research Center
    • Newest Rogue-Ransomware Threats
    • Newest Malware Threats
    • Newest Mobile Threats
    • Newest IP or URL Threats
    • Newest Mac Threats
    • Report Scam Phone Numbers
  • General
    • General Chat
    • Forums Announcements & Feedback

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Location


Interests

Found 1 result

  1. I wrote a simple Java program program controlled by a local file which switches my default audio device. The program is quite simple (I wrote it in five minutes), and is not dangerous in any way: import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; public class Main { public static void main(String[] args) throws IOException { File file = new File("C:\\Users\\Peter Orlowski\\switch.txt"); FileInputStream in = new FileInputStream(file); byte[] buffer = new byte[in.available()]; in.read(buffer); in.close(); String s = new String(buffer); Process process; if (s.equalsIgnoreCase("hp")) { FileOutputStream out = new FileOutputStream(file, false); out.write("tv".getBytes()); out.flush(); out.close(); process = Runtime.getRuntime().exec("nircmd setdefaultsounddevice SCEPTRE-TV 1"); } else { FileOutputStream out = new FileOutputStream(file, false); out.write("hp".getBytes()); out.flush(); out.close(); process = Runtime.getRuntime().exec("nircmd setdefaultsounddevice Speaker/HP 1"); } System.out.println("----- PROCESS-OUTPUT -----"); InputStream in1 = process.getInputStream(), err = process.getErrorStream(); while (process.isAlive()) { while (in1.available() > 0) { byte[] b = new byte[in1.available()]; System.out.println(new String(b)); } while (err.available() > 0) { byte[] b = new byte[err.available()]; System.err.println(new String(b)); } } } } I used Launch4J to wrap the program in an executable (exe) file so I could set a custom file icon. Whenever I try this my program, however, Malwarebytes quarantines it as malware. Here is the report: Malwarebytes www.malwarebytes.com -Log Details- Protection Event Date: 11/28/19 Protection Event Time: 9:06 PM Log File: d832e3e4-124c-11ea-8a3d-d0bf9c1cf11c.json -Software Information- Version: 3.8.3.2965 Components Version: 1.0.629 Update Package Version: 1.0.13583 License: Premium -System Information- OS: Windows 8.1 CPU: x64 File System: NTFS User: System -Blocked Malware Details- File: 1 MachineLearning/Anomalous.95%, C:\Users\Cardinal System\Desktop\AudioSwitch.exe, Quarantined, [0], [392687],1.0.13583 (end) Is there any way I can stop Malwarebytes from quarantining this? Perhaps there's a whitelist? Maybe I can change something in my code? I have two other Java programs I wrote which are wrapped in executable, and Malwarebytes does not bother them at all...
×
×
  • Create New...

Important Information

This site uses cookies - We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.