anti virus – How do you stop McAfee from quarantining your .EXE?

I have a history with McAfee quarantining my C code in Microsoft Visual Studio and others have had the same problem.

There are solutions, but that requires every .EXE in all your solutions to be whitelisted manually.
I would prefer that I didn’t have to do that, but it seems that’s the only way.

I followed the instruction to exclude the file and went back to coding. After I rebuilt my project McAfee alerted me that it removed it from the exclusion list because the file changed. So, either I shut off the live scan every time I want to practice coding, or I just don’t code.
I know some of you out there must have a good solution so do you guys know if there a better solution?

I called their helpline and they told me to whitelist the EXE (devenv.exe) for Microsoft Visual Studio and it seemed to work but then later it stopped my project from running entirely considering it a virus threat.

Why C# Sharpdevelop .exe triggers virus warnings?

SharpDevelop has been discontinued but has features that I find useful for a current project, specially because it can compile REAL AnyCPU apps, meaning I can build GUI apps for Windows x86/x64 and also Windows running on ARM processors.

However while the apps come out clean after Avast Scan, virus and trojans are reported by others (virustotal services). I took my time researching on this but I can’t find information due to this being an old discontinued IDE, but I found comments on these being “false positives”, I’m not sure about that.

So, I’ve been looking for trustworthy installers, all I can find are third party websites listing apps, and Sharpdevelop among them. The official website no longer exist. I’m inclined to think it’s really about false positives as simple 15K exe files can’t contain that many viruses and trojans.

Any comments or trustworthy links will be appreciated.

windows – How to run exe upon logon with GPO (Commandline)

I am working on this keylogger project of mine. I have successfully implemented registry, scheduled tasks persistence but am stuck with GPO logon persistence. All online resources i saw are providing info on adding GPO in GUI. I need the command that can be run to register the EXE file in GPO logon. I located the feature i need in the GUI version of Group Policy Editor.
Local GP Editor - Run programs at logon

Can someone point me in the right direction on achieving my goal with commandline? Thanks.

java – MySQL failed desde .exe generado en Launch4j

He desarrollado una aplicación agenda en Netbeans la cual funciona correctamente dentro de Netbeans. Llevo horas intentando resolver este “problema”.

Mi problema viene cuando quiero ejecutar la aplicación fuera de Netbeans (MySQL failed), después de generar el .exe a partir del .jar (Clean and build).

¿Cómo hago la conexión a la base de datos para loguearme en la app?

Código:

public class Conexiones {
    static String bbdd = "agenda";
    static String login = "root";
    static String password = "";
    static String url = "jdbc:mysql://localhost:3306/";
    static String driver = "com.mysql.jdbc.Driver";
    static Connection c = null;

    /**
     * Conexión a BBDD.
     *
     * @param bbdd
     * @return
     */
    public static Connection conexion_a_BBDD(String bbdd) {
        try {
            Class.forName(driver);
            c = DriverManager.getConnection(url + bbdd, login, password);
            return c;
        } catch (ClassNotFoundException ex) {
            ex.printStackTrace();
        } catch (SQLException e) {
            //Siempre entra aquí cuando ejecuto desde el .exe !!!!!!!!!!!!!!!!!!
            JOptionPane.showMessageDialog(null, "¡MySQL failed! Se cerrará el programa...", "ADMINISTRADOR", JOptionPane.WARNING_MESSAGE);
            System.exit(0);
            e.printStackTrace();
        } catch (NullPointerException n) {
            //JOptionPane.showMessageDialog(null, "¡MySQL failed! Se cerrará el programa...", "ADMINISTRADOR", JOptionPane.WARNING_MESSAGE);
            n.printStackTrace();
        }
        return null;
    }
}

Estructura de mi aplicación:

introducir la descripción de la imagen aquí

Repito: el fallo viene al ejecutar la APP fuera del Netbeans.

Genero el .jar y luego con el Launch4j genero el .exe.

introducir la descripción de la imagen aquí

También, añado en la opción JRE que el mínimo sea 1.8.

introducir la descripción de la imagen aquí

Y, por último, ahora quiero ejecutar la aplicación y loguearme y a la hora de loguear me da el error:
introducir la descripción de la imagen aquí

Podríais pensar que me logueo mal pero me logueo con los datos correctos, al igual que dentro de Netbeans donde sí funciona.

¿A qué se debe?

malware – Embedding malicious code into an exe

How does malware usually embed into / infect exe files? (As in actually modifying the file on disk, not in memory). I’ve read it may look for gaps in the code section, insert its code, then redirect or change the entry point to that location. That makes sense, but what if there are no gaps large enough?

Would it be possible to insert bytes at the end of the code section, push everything else back, adjust the PE header/section sizes, then change the entry point to the new bytes? Or does something prevent this?

php – Ejecutar un archivo .exe o .bat alojado en un servidor remoto desde un navegador en el equipo cliente

Tengo un equipo con linux y el servicio samba configurado.
Desde windows he creado la unidad de red llamada P: que corresponde a la ruta a ipdelequipolinuxcarpetaderecursos, de forma que yo puedo ejecutar desde el cmd tipeando P:archivo.exe o P:archivo.bat. Mi deseo seria poner ejecutarlos desde el equipo cliente con windows ya sea en Chrome o desde Edge accediendo por http. Necesito que se monte la unidad P desde el navegador y luego que se ejecute ese archivo exe o el archivo bat. Hay alguna manera de hacer eso en PHP o en algun otro lenguaje?. Si he sido capaz de que se monte la unidad P en PHP, pero no soy capaz de hacer que se ejecute un bat o un exe alojado en ese servidor. He probado esto:

<?php

{
  $letter = "P";
  $location = "\\192.168.6.10\recurso";
  $user = "usuario";
  $pass = "clave";


  $outx=shell_exec("net use ".$letter.": "".$location."" ".$pass." /user:".$user." /persistent:yes");
  exec("P:miarchivo.bat");
  echo "<pre>$outx</pre>";

}


?>

unreal 4 – Unable to turn project into exe file

I’m new to Unreal Engine and I’ve been looking for an answer online but I don’t understand why my project I just started on is unable to project. I used only blueprints. Here is the log.

UATHelper: Packaging (Windows (64-bit)): Running AutomationTool…
UATHelper: Packaging (Windows (64-bit)): Parsing command line: -ScriptsForProject=C:/Users/belmo/OneDrive/Documents/GitHub/EscapeFromDarksidePenitentiary/EscapeFromDarkSide/EscapeFromDarkSide.uproject BuildCookRun -nocompileeditor -installed -nop4 -project=C:/Users/belmo/OneDrive/Documents/GitHub/EscapeFromDarksidePenitentiary/EscapeFromDarkSide/EscapeFromDa
rkSide.uproject -cook -stage -archive -archivedirectory=C:/Users/belmo/OneDrive/Documents/GitHub/EscapeFromDarksidePenitentiary/EscapeFromDarkSide -package -ue4exe=”C:Program FilesEpic GamesUE_4.26EngineBinariesWin64UE4Editor-Cmd.exe” -ddc=InstalledDerivedDataBackendGraph -pak -prereqs -nodebuginfo -targetplatform=Win64 -clientconfig=Development -utf8
output
UATHelper: Packaging (Windows (64-bit)): Setting up ProjectParams for C:UsersbelmoOneDriveDocumentsGitHubEscapeFromDarksidePenitentiaryEscapeFromDarkSideEscapeFromDarkSide.uproject
UATHelper: Packaging (Windows (64-bit)): ********** COOK COMMAND STARTED **********
UATHelper: Packaging (Windows (64-bit)): Running UE4Editor Cook for project C:UsersbelmoOneDriveDocumentsGitHubEscapeFromDarksidePenitentiaryEscapeFromDarkSideEscapeFromDarkSide.uproject
UATHelper: Packaging (Windows (64-bit)): ERROR: Cook failed.
UATHelper: Packaging (Windows (64-bit)): (see C:UsersbelmoAppDataRoamingUnreal EngineAutomationToolLogsC+Program+Files+Epic+Games+UE_4.26Log.txt for full exception trace)
PackagingResults: Error: Cook failed.
UATHelper: Packaging (Windows (64-bit)): AutomationTool exiting with ExitCode=25 (Error_UnknownCookFailure)
UATHelper: Packaging (Windows (64-bit)): BUILD FAILED
PackagingResults: Error: Unknown Cook Failure
LogD3D11RHI: CreateSwapChainForHwnd failed with result ‘DXGI_ERROR_INVALID_CALL’ (0x887A0001), falling back to legacy CreateSwapChain.
LogEditorViewport: Clicking on Actor (LMB): StaticMeshActor (Cube11)
LogSlate: Window ‘Output Log’ being destroyed
LogSlate: Window ‘Output Log’ being destroyed
LogD3D11RHI: CreateSwapChainForHwnd failed with result ‘DXGI_ERROR_INVALID_CALL’ (0x887A0001), falling back to legacy CreateSwapChain.
LogD3D11RHI: CreateSwapChainForHwnd failed with result ‘DXGI_ERROR_INVALID_CALL’ (0x887A0001), falling back to legacy CreateSwapChain.
LogD3D11RHI: CreateSwapChainForHwnd failed with result ‘DXGI_ERROR_INVALID_CALL’ (0x887A0001), falling back to legacy CreateSwapChain.
LogD3D11RHI: CreateSwapChainForHwnd failed with result ‘DXGI_ERROR_INVALID_CALL’ (0x887A0001), falling back to legacy CreateSwapChain.
LogD3D11RHI: CreateSwapChainForHwnd failed with result ‘DXGI_ERROR_INVALID_CALL’ (0x887A0001), falling back to legacy CreateSwapChain.
LogD3D11RHI: CreateSwapChainForHwnd failed with result ‘DXGI_ERROR_INVALID_CALL’ (0x887A0001), falling back to legacy CreateSwapChain.
LogD3D11RHI: CreateSwapChainForHwnd failed with result ‘DXGI_ERROR_INVALID_CALL’ (0x887A0001), falling back to legacy CreateSwapChain.
LogD3D11RHI: CreateSwapChainForHwnd failed with result ‘DXGI_ERROR_INVALID_CALL’ (0x887A0001), falling back to legacy CreateSwapChain.
LogD3D11RHI: CreateSwapChainForHwnd failed with result ‘DXGI_ERROR_INVALID_CALL’ (0x887A0001), falling back to legacy CreateSwapChain.
LogD3D11RHI: CreateSwapChainForHwnd failed with result ‘DXGI_ERROR_INVALID_CALL’ (0x887A0001), falling back to legacy CreateSwapChain.
LogD3D11RHI: CreateSwapChainForHwnd failed with result ‘DXGI_ERROR_INVALID_CALL’ (0x887A0001), falling back to legacy CreateSwapChain.
LogEditorViewport: Clicking on Actor (LMB): StaticMeshActor (Cube11)