AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Sprachen und Entwicklungsumgebungen Die Delphi-IDE Hilfe Virusmeldung bei Delphi XE Trial
Thema durchsuchen
Ansicht
Themen-Optionen

Hilfe Virusmeldung bei Delphi XE Trial

Ein Thema von Willie1 · begonnen am 1. Mär 2011 · letzter Beitrag vom 7. Mär 2011
Antwort Antwort
Seite 2 von 4     12 34      
Benutzerbild von Assarbad
Assarbad

Registriert seit: 8. Okt 2010
Ort: Frankfurt am Main
1.234 Beiträge
 
#11

AW: Hilfe Virusmeldung bei Delphi XE Trial

  Alt 1. Mär 2011, 12:31
1. Ich hatte unter Windows noch nie einen Virus!
Irgendwann ist immer das erste Mal. Abgesehen davon gibt es Malware die sich sehr gut verstecken kann

2. Ich bin kein Informatiker, nur Hobby.Programmierer, ich hoffe, das stört dich nicht.
Nö, sollte es stören?

3. Sieh dir die Disskussion zum Thema OFD von mir hier im Forum an.
Mach ich.

4. Ich habe D-XE von Trocadero heruntergeladen und habe noch 27 Tage.
Embarcadero? Dann dürfen wir davon ausgehen, daß es sauber ankam.

Aber ich frage dann nochmal. Als was erkennt denn Norton die angebliche Malware?
Oliver
"... aber vertrauen Sie uns, die Physik stimmt." (Prof. Harald Lesch)
  Mit Zitat antworten Zitat
Benutzerbild von himitsu
himitsu

Registriert seit: 11. Okt 2003
Ort: Elbflorenz
43.136 Beiträge
 
Delphi 12 Athens
 
#12

AW: Hilfe Virusmeldung bei Delphi XE Trial

  Alt 1. Mär 2011, 12:52
@Assarbad: der "Delphi"-Virus war nur bedingt Versionsspezifisch.
> Man hatte teilweise Pfade hardcodiert und dann ist es so, daß man auf die System.pas und System.dcu standardmäßig keine Schreibrechte besitzt, weswegen man diese nur schwer verändern kann und es somit auf ältere Versionen beschränkt war/ist.
Garbage Collector ... Delphianer erzeugen keinen Müll, also brauchen sie auch keinen Müllsucher.
my Delphi wish list : BugReports/FeatureRequests
  Mit Zitat antworten Zitat
Willie1

Registriert seit: 28. Mai 2008
618 Beiträge
 
Delphi 10.1 Berlin Starter
 
#13

AW: Hilfe Virusmeldung bei Delphi XE Trial

  Alt 1. Mär 2011, 14:39
Delphi-Quellcode:
function OpenSaveFileDialog(ParentHandle: THandle; fFlags: Integer; const DefExt, Filter, InitialDir,
                            Title: string; var FileName: string;
                            out ReadOnly: Boolean; IsOpenDialog: Boolean): Boolean; overload;
var
  ofn: TOpenFileName;
// szFile: array[0..MAX_PATH] of Char;
  szFileN: PAnsiChar;
// fi: string;
begin
// GetMem(szFileN,MAX_PATH);
  Result := False;
  FillChar(ofn, SizeOf(TOpenFileName), 0);
  with ofn do
  begin
    lStructSize := SizeOf(TOpenFileName);
    hwndOwner := ParentHandle;
    lpstrFile := szFileN;
    nMaxFile := SizeOf(szFileN);
    if (Title <> '') then begin
      lpstrTitle := PAnsiChar(AnsiString(Title));
    end;
    flags := fFlags;
    if (InitialDir <> '') then
      lpstrInitialDir := PAnsiChar(AnsiString(InitialDir));
// StrPCopy(lpstrFile, FileName);
// lpstrFile
// fi := PAnsiChar(FileName);
// lpstrFilter :='Alle|*.*'#0#0;
    lpstrFilter := PAnsiChar(AnsiString(CharReplace(Filter, '|', #0) + #0#0));
    if DefExt <> 'then
      lpstrDefExt := PAnsiChar(DefExt);
    lpfnHook := nil;
  end;
  if IsOpenDialog then
  begin
    if GetOpenFileName(ofn) then
    begin
      Result := True;
      ReadOnly := ofn.Flags and OFN_READONLY = OFN_READONLY;
      FileName := string(AnsiString(szFileN));
    end;
  end
  else
  begin
    if GetSaveFileName(ofn) then
    begin
      Result := True;
      FileName := string(AnsiString(szFileN));
    end;
  end
end;
Hiermit war ich beschäftigt. Ich will keinen Gutenberg machen Orginalquelle: Aus der Tippsammlung SwissDelphi Center Mit D-2005/6 unter Vista lief es prima, für D-XE muss es angepasst werden, und da war ich dran, als Norton zuschlug. Was soll ich machen?

Der Virenwächter "Sonar" von Norton meldet "Das Programm xy verhält sich verdächtig und wird geblockt." Genauere Erklärungen keine.


Willie.

Geändert von Willie1 ( 1. Mär 2011 um 14:50 Uhr)
  Mit Zitat antworten Zitat
Benutzerbild von himitsu
himitsu

Registriert seit: 11. Okt 2003
Ort: Elbflorenz
43.136 Beiträge
 
Delphi 12 Athens
 
#14

AW: Hilfe Virusmeldung bei Delphi XE Trial

  Alt 1. Mär 2011, 14:55
szFileN > kein Speicher reserviert
nMaxFile := SizeOf(szFileN); > szFileN ist ein Pointer, also stimmt die Länge nicht, abgrsehn davon daß nMaxFile in Chars und nicht in Bytes angegeben werden muß.

Warum müssen denn ständig welche Ansi, Unicode und Dynamisch vermischen?

PAnsiChar/AnsiString/TOpenFileNameA
oder
PWideChar/WideString/UnicodeString/TOpenFileNameW
oder
PChar/String/TOpenFileName

Delphi-Quellcode:
function OpenSaveFileDialog(ParentHandle: THandle; fFlags: Integer; const DefExt, Filter, InitialDir,
                            Title: string; var FileName: string;
                            out ReadOnly: Boolean; IsOpenDialog: Boolean): Boolean; overload;
var
  ofn: TOpenFileName;
  szFileN: array[1..MAX_PATH] of Char;
begin
  //Move(szFileN, PChar(FileName)^, (Length(FileName) + 1) * SizeOf(Char));
  FillChar(szFileN, SizeOf(szFileN), 0);
  FillChar(ofn, SizeOf(ofn), 0);
  with ofn do
  begin
    lStructSize := SizeOf(ofn);
    hwndOwner := ParentHandle;
    lpstrFile := @szFileN;
    nMaxFile := Length(szFileN);
    if Title <> 'then
      lpstrTitle := PChar(Title);
    flags := fFlags;
    if InitialDir <> 'then
      lpstrInitialDir := PChar(InitialDir);
    lpstrFilter := PChar(CharReplace(Filter, '|', #0) + #0#0);
    if DefExt <> 'then
      lpstrDefExt := PChar(DefExt);
    lpfnHook := nil;
  end;
  //if IsOpenDialog then
  //begin
  // if GetOpenFileName(ofn) then
  // begin
  // Result := True;
  // ReadOnly := ofn.Flags and OFN_READONLY = OFN_READONLY;
  // FileName := szFileN;
  // end;
  //end
  //else
  //begin
  // if GetSaveFileName(ofn) then
  // begin
  // Result := True;
  // FileName := szFileN;
  // end;
  //end;
  Result := (IsOpenDialog and GetOpenFileName(ofn))
     or (not IsOpenDialog and GetSaveFileName(ofn));
  if Result then
  begin
    ReadOnly := ofn.Flags and OFN_READONLY = OFN_READONLY;
    FileName := szFileN;
  end;
end;
Garbage Collector ... Delphianer erzeugen keinen Müll, also brauchen sie auch keinen Müllsucher.
my Delphi wish list : BugReports/FeatureRequests

Geändert von himitsu ( 1. Mär 2011 um 14:57 Uhr)
  Mit Zitat antworten Zitat
Willie1

Registriert seit: 28. Mai 2008
618 Beiträge
 
Delphi 10.1 Berlin Starter
 
#15

AW: Hilfe Virusmeldung bei Delphi XE Trial

  Alt 1. Mär 2011, 15:04
Danke,
aber was verursacht das Verhalten von Norton?
Gibt es wirklich einen Virus oder oder verhält sich mein Programm "verdächtig"?

W.

Geändert von Willie1 ( 1. Mär 2011 um 15:06 Uhr)
  Mit Zitat antworten Zitat
Benutzerbild von Assarbad
Assarbad

Registriert seit: 8. Okt 2010
Ort: Frankfurt am Main
1.234 Beiträge
 
#16

AW: Hilfe Virusmeldung bei Delphi XE Trial

  Alt 1. Mär 2011, 15:18
und dann ist es so, daß man auf die System.pas und System.dcu standardmäßig keine Schreibrechte besitzt, weswegen man diese nur schwer verändern kann und es somit auf ältere Versionen beschränkt war/ist.
Dies träfe aber nur bei Systemen oberhalb von Windows XP zu und auch nur wenn man nicht als Admin arbeitet. Und in Vista und 7 könnte einem die Virtualisierungsfunktion noch eine reinrasseln. Dann ist zwar nur das eigene Konto infiziert, aber schlimm genug.

aber was verursacht das Verhalten von Norton?
Läßt sich anhand der Meldung nicht eindeutig identifizieren.

Gibt es wirklich einen Virus oder oder verhält sich mein Programm "verdächtig"?
Schick die Datei an Symantec und schreibe, daß du denkst es handele sich um einen Fehlalarm (false positive).
Oliver
"... aber vertrauen Sie uns, die Physik stimmt." (Prof. Harald Lesch)
  Mit Zitat antworten Zitat
plusplus

Registriert seit: 30. Jul 2010
106 Beiträge
 
Delphi 2009 Architect
 
#17

AW: Hilfe Virusmeldung bei Delphi XE Trial

  Alt 1. Mär 2011, 15:41
now a days all anit-virus vendors went paranoid and bizarre, there are many FALSE positives and any delphi version reports on some machines a virus and on some not. I have been sending out over 30 mails to anti-virus vendors addressing this FALSE positive issue but had no success.

I think this is a planned attack on Delphi OR Embarcadero has somewhere in the exe generation/optimization an algorithm that needs to be fixed.

I am advising all my customers who get FALSE positives that it is a FALSE positive and that they should send an email to the Anti-Virus Vendor complaining about it.

I have also noticed that sometimes when you change the Application Icon the FALSE positive goes away, have no idea why.
Grid Computing made simple - http://xerocoder.com
  Mit Zitat antworten Zitat
Benutzerbild von Assarbad
Assarbad

Registriert seit: 8. Okt 2010
Ort: Frankfurt am Main
1.234 Beiträge
 
#18

AW: Hilfe Virusmeldung bei Delphi XE Trial

  Alt 1. Mär 2011, 15:50
now a days all anit-virus vendors went paranoid and bizarre, there are many FALSE positives and any delphi version reports on some machines a virus and on some not. I have been sending out over 30 mails to anti-virus vendors addressing this FALSE positive issue but had no success.
If you have more details, they'll all be welcome here. If you don't want it to get lost in the heaps of mails the folks in our viruslab get, send to free-olli att f-prot dott com.

Are you experiencing it in Delphi 2009 as well? I have that one here in the company, so I could run some tests if needed.

I think this is a planned attack on Delphi OR Embarcadero has somewhere in the exe generation/optimization an algorithm that needs to be fixed.
Planned by ...?

I have also noticed that sometimes when you change the Application Icon the FALSE positive goes away, have no idea why.
Suggests that some heuristics went haywire.
Oliver
"... aber vertrauen Sie uns, die Physik stimmt." (Prof. Harald Lesch)
  Mit Zitat antworten Zitat
Willie1

Registriert seit: 28. Mai 2008
618 Beiträge
 
Delphi 10.1 Berlin Starter
 
#19

AW: Hilfe Virusmeldung bei Delphi XE Trial

  Alt 1. Mär 2011, 17:18
Hello plusplus,

you are right, if I change the Program Icon, the program runs without protest of the Norton Virus-Guard.
I's very mysterious. is't it?

Das Problem versaut mir auch den Testzeitraum, da könnte man schon an Absicht denken.

Willie.
  Mit Zitat antworten Zitat
mquadrat

Registriert seit: 13. Feb 2004
1.113 Beiträge
 
Delphi XE2 Professional
 
#20

AW: Hilfe Virusmeldung bei Delphi XE Trial

  Alt 1. Mär 2011, 17:37
Naja Norton hat ja nun nichts mit den Testzeiträumen von Emba zu tun Das ist doch dann ein bisschen zu viel Verschwörungstheorie
  Mit Zitat antworten Zitat
Antwort Antwort
Seite 2 von 4     12 34      


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 01:26 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz