Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Malicious ".jar" file? [Help me]

  1. #1
    Junior Member
    Join Date
    Jul 2021
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Malicious ".jar" file? [Help me]

    Good evening friends from the Java community.
    I recently switched my operating system to MX Linux and started installing some programs and applications that I use.

    Recently I downloaded a file (.jar) to check its function, noticed the operation of the application and then removed it from the machine.
    However, is it possible to verify that the particular file (.jar) has downloaded or installed any other file or library, as well as whether it has modified or deleted any existing files on the machine?

    It is a btc private key generator and I have the site from where I downloaded the file.
    I would just like to know if he created any residue or altered any files from the machine, or if it is just the executable (.jar) and nothing more than that.

    I wanted to check (if possible) if it installed, altered or left any residue.

    The file in question is:
    github.com/MrMaxweII/Bitcoin-Address-Generator

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Malicious ".jar" file? [Help me]

    Not sure how java programming can be used to check the contents of your PC. Surely the OS has some tools for checking security.

    Normally if I were to run an unknown jar file, I would use a permissions file:
    A windows batch file
    @Rem Test a jar file
    java -Djava.security.manager -Djava.security.policy=mypolicy4RC.policy -jar RouteConverterCmdLine.jar
    MORE
    The mypolicy4RC.policy file:

    grant {
    permission java.util.logging.LoggingPermission "control";
    permission java.lang.RuntimePermission "preferences";
    };
    These files are several years old and I don't remember what they are used for.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. Replies: 1
    Last Post: August 20th, 2019, 07:07 AM
  2. Replies: 4
    Last Post: July 18th, 2014, 02:04 AM
  3. Replies: 1
    Last Post: July 16th, 2014, 04:16 AM
  4. Replies: 2
    Last Post: May 22nd, 2014, 01:17 PM