Jump to content


  • Content Count

  • Joined

  • Last visited

About bignose956

  • Rank
    New Member
  1. Thank you, this is very informative! I did not know that Malwarebytes had file system exclusions. Because this specific program is solely for personal use, I will place it in a special directory and exclude it. Thanks again!
  2. Wait, I was wrong. It is still detecting my program as malware...
  3. Hmm, the issues seems to have just fixed itself...
  4. 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: 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.