2018년 8월 7일 화요일

Practical Malware Analysis - review 1

Static Analysis - The program itself is not run at this time(In contrast, when performing dynamic analysis actually runs the program.)

Sometimes the strings detected by the Strings program are not actual strings. Those bytes could be a memory address, CPU instructions, or data used by the program. Often, the most useful information obtained by running Strings is found in error messages.

DLL itself is not necessarily malicious; malware often uses legitimate libraries and DLLs to further its goals.

If upon searching a program with Strings, you find that it has only a few strings, it is probably either obfuscated or packed, suggesting that it may be malicious.

Packed and obfuscated code will often include at least the functions LoadLibrary and GetProcAddress, which are used to load and gain access to additional functions.

- LoadLibrary : Loads the specified module into the address space of the calling process. The specified module may cause other modules to be loaded.

- GetProcAddress : Retrieves the address of an exported function or variable from the specified dynamic-link library (DLL).

2018년 7월 28일 토요일

Following Unity Tutorials-6 / 유니티 튜토리얼 따라하기-6

This is the link of Unity Tutorials down below.
아래는 유니티 튜토리얼 링크. (Tutorial 06)

https://www.youtube.com/watch?v=D4I0I3QJAvc&list=PLPV2KyIb3jR5QFsefuO2RlAgWEz6EvVi6&index=7

1) ForceMode.VelocityChange is direct edits to the velocity of the object and it completely ignores its mass.
이 코드는 속도 적용이 바로 되고 질량을 무시한다.


2) Adding some other obstacles and video of playing that.
장애물을 추가하고 플레이 하는 영상.


2018년 7월 9일 월요일

Following Unity Tutorials-5 / 유니티 튜토리얼 따라하기-5

This is the link of Unity Tutorials down below.
아래는 유니티 튜토리얼 링크. (Tutorial 05)

https://youtu.be/gAB64vfbrhI

1) Adding a cube and naming it "Obstacle". And this code is detecting collision with "Obstacle" and stopping player's movement.




2) Result Video of number 1)
설명 1번의 영상.



2018년 7월 1일 일요일

Following Unity Tutorials-3&4 / 유니티 튜토리얼 따라하기-3&4

This is the link of Unity Tutorials down below.
아래는 유니티 튜토리얼 링크. (Tutorial 03 & 04)

https://youtu.be/Au8oX5pu5u4
https://youtu.be/HVB6UVcb3f8

1) How to get key "a" & "d" and move left and right.
a와 d 키를 입력받아 좌우로 움직이게 하는 법.


2) Video of number 1)
설명 1번의 영상.


* This is the end of Tutorial 03.
튜토리얼 3 끝.
------------------------------------------------------------------------------------------------

1) How to make the camera follow the player(the Cube).
카메라로 플레이어 따라다니게 하는 법.



2) Video of number 1)
설명 1번의 영상.


* This is the end of Tutorial 04.
튜토리얼 4 끝.

Following Unity Tutorials-2 / 유니티 튜토리얼 따라하기-2

This is the link of Unity Tutorials down below.
아래는 유니티 튜토리얼 링크. (Tutorial 02)

https://youtu.be/Au8oX5pu5u4

- Start() is only called one right when we start playing the game, however, update function is called once a frame.
Start 함수는 게임 플레이 할 때 한 번만 호출된다. update 함수는 한 프레임 당 한 번.


- Write > rb.useGravity = false; and rb.AddForce(0, 200, 500); <
The result is in video down below.
저 명령문들을 쓰면 이런 결과가 나온다.


- The result of writing > rb.AddForce(0, 0, 2000 * Time.deltaTime); <
(I deleted Start() area because I followed the tutorials!)
마찬가지로 저렇게 쓰면 이 영상처럼 된다.
(나는 튜토리얼을 따라했기 때문에 Start 함수 부분을 지워놨다.



- Making another cube. And the result is...
큐브 하나 더 만들어서 보면...


* This is the end of Tutorial 02.

Following Unity Tutorials-1 / 유니티 튜토리얼 따라하기-1

This is the link of Unity Tutorials down below.
아래는 유니티 튜토리얼 링크.

https://youtu.be/IlKaB1etrik

1) Main screen
메인 화면


2) Making Cube.
큐브 모양 만들기.


3) Widening Cube and naming it Ground.
큐브 넓히고 Ground라고 이름 붙이기.



4) Asset area, right-click - Create -Material. Then, the Cube can be colored.
Asset 부분에서 우클릭, Create-Material 누르면 큐브에 색 넣기 가능.



5) Just drag material to the Cube to apply. (Right circle : Menu you can choose a color.)
드래그해서 큐브에 material 적용 할 수 있다. (오른쪽 동그라미 : 색 고를 수 있는 메뉴.)



6) How to apply gravity : Click the Cube - Add Component - Physics - Rigidbody
중력 적용하는 법 : 큐브 클릭 - Add Component - Physics - Rigidbody

* rigid body : 물리학 용어. 강체. 여러 중력이나 다른 속성 적용 가능한 메뉴.



7) Press ▶ button, then you can see the falling Cube.
▶ 모양 버튼을 누르면, 큐브가 떨어지는 걸 볼 수 있다.


8) You can switch the lined menu to push the button Q, W, E, R, T, Y in sequence.
줄쳐친 메뉴를 Q, W, E, R, T, Y 키를 순서대로 누르면 바꿀 수 있다.


9) In this case, press E, and I'm gonna turn the Cube. Press ▶, the Cube is spinning and falling.
이번 경우에는, E를 눌러서 큐브를 돌릴 것이다. ▶ 버튼 누르면, 큐브가 돌면서 떨어진다.


10) ctrl+D : you can duplicate. And you can do this.
ctrl+D : 복사 가능. 이런 것도 할 수 있다.


11) Also, you can change the shape of the figure.
또, 도형 모양도 바꿀 수 있다.


11) Box Collider - right click - Remove Component.
And Add Component - Search 'sphere collider' - Enter. It changes the collider.
위에 적은 순서대로 해야 충돌박스가 구 형체로 바뀐다.


* I just realize something while I'm capturing screen. It takes time more than I expected. So from now on, I will describe my practice in words (maybe with some pictures).
캡쳐하면서 느낀건데, 시간이 생각보다 많이 걸린다. 앞으로는 글로 설명하겠음(가끔 그림 포함할 수도.)




[프로그래머스] 프린터 (자바/Java)

문제 설명 일반적인 프린터는 인쇄 요청이 들어온 순서대로 인쇄합니다. 그렇기 때문에 중요한 문서가 나중에 인쇄될 수 있습니다. 이런 문제를 보완하기 위해 중요도가 높은 문서를 먼저 인쇄하는 프린터를 개발했습니다. 이 새롭게 개발한 프린터는 아래와 같은...